Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compile.zig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn build(builder: *std.build.Builder) !void {
"example-option",
"test passing an option through build.zig",
);
std.log.info("example-option: {}", .{example_option});
std.log.info("example-option: {any}", .{example_option});
}

const ExampleStep = struct {
Expand Down
4 changes: 2 additions & 2 deletions fetch.zig
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn fetchAndBuild(
builder.getInstallStep().dependOn(&fetch_and_build.step);
}

const FetchAndBuild = struct {
pub const FetchAndBuild = struct {
builder: *std.build.Builder,
step: std.build.Step,
deps: []const Dependency,
Expand All @@ -59,7 +59,7 @@ const FetchAndBuild = struct {
run_zig_build: bool,
fetch_cache_path: []const u8,

fn init(
pub fn init(
builder: *std.build.Builder,
deps_dir: []const u8,
deps: []const Dependency,
Expand Down