mirror of
https://github.com/ziglang/zig.git
synced 2026-02-18 23:39:17 +00:00
print call in build.zig needs to use a tuple argument
This commit is contained in:
parent
2a7103ca34
commit
3388c777fa
@ -1576,7 +1576,7 @@ pub const LibExeObjStep = struct {
|
||||
|
||||
pub fn addBuildOption(self: *LibExeObjStep, comptime T: type, name: []const u8, value: T) void {
|
||||
const out = &std.io.BufferOutStream.init(&self.build_options_contents).stream;
|
||||
out.print("pub const {} = {};\n", name, value) catch unreachable;
|
||||
out.print("pub const {} = {};\n", .{ name, value }) catch unreachable;
|
||||
}
|
||||
|
||||
pub fn addSystemIncludeDir(self: *LibExeObjStep, path: []const u8) void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user