| ... | @@ -1679,7 +1679,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1679,7 +1679,7 @@ pub const LibExeObjStep = struct { |
| 1679 | } | 1679 | } |
| 1680 | | 1680 | |
| 1681 | pub fn addBuildOption(self: *LibExeObjStep, comptime T: type, name: []const u8, value: T) void { | 1681 | pub fn addBuildOption(self: *LibExeObjStep, comptime T: type, name: []const u8, value: T) void { |
| 1682 | const out = &std.io.BufferOutStream.init(&self.build_options_contents).stream; | 1682 | const out = self.build_options_contents.outStream(); |
| 1683 | out.print("pub const {} = {};\n", .{ name, value }) catch unreachable; | 1683 | out.print("pub const {} = {};\n", .{ name, value }) catch unreachable; |
| 1684 | } | 1684 | } |
| 1685 | | 1685 | |