| author | |
| committer | |
| log | 27317eaff08453792ae2d3bd0c96f81be8a26bfc |
| tree | d592586d8d5f69e807fb3ab7051ca8519b4ddd78 |
| parent | f62e3b8c0dd232bddb559405b00c1c1c4815f359 |
1 files changed, 6 insertions(+), 0 deletions(-)
lib/std/Build/ConfigHeaderStep.zig+6| ... | @@ -125,6 +125,12 @@ fn putValue(self: *ConfigHeaderStep, field_name: []const u8, comptime T: type, v | ... | @@ -125,6 +125,12 @@ fn putValue(self: *ConfigHeaderStep, field_name: []const u8, comptime T: type, v |
| 125 | return; | 125 | return; |
| 126 | } | 126 | } |
| 127 | }, | 127 | }, |
| 128 | .Int => { | ||
| 129 | if (ptr.size == .Slice and ptr.child == u8) { | ||
| 130 | try self.values.put(field_name, .{ .string = v }); | ||
| 131 | return; | ||
| 132 | } | ||
| 133 | }, | ||
| 128 | else => {}, | 134 | else => {}, |
| 129 | } | 135 | } |
| 130 | 136 |