authorgravatar for dbandstra@protonmail.comdbandstra <dbandstra@protonmail.com> 2019-12-09 19:21:28-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-12-10 10:18:57-05:00
log3388c777fae8b76d1e325b71813361083244ce5d
tree3dfd24253d0adc962e8f5e1d799790b00d34fcdb
parent2a7103ca345f2bd32f496fe5ac29af68bc813341

print call in build.zig needs to use a tuple argument


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/build.zig+1-1
......@@ -1576,7 +1576,7 @@ pub const LibExeObjStep = struct {
15761576
15771577 pub fn addBuildOption(self: *LibExeObjStep, comptime T: type, name: []const u8, value: T) void {
15781578 const out = &std.io.BufferOutStream.init(&self.build_options_contents).stream;
1579 out.print("pub const {} = {};\n", name, value) catch unreachable;
1579 out.print("pub const {} = {};\n", .{ name, value }) catch unreachable;
15801580 }
15811581
15821582 pub fn addSystemIncludeDir(self: *LibExeObjStep, path: []const u8) void {