diff options
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -328,7 +328,7 @@ pub fn build(b: *std.build.Builder) !void { break :sha; }; - git_sha = std.heap.page_allocator.dupeZ(u8, result.stdout) catch unreachable; + git_sha = std.heap.page_allocator.dupeZ(u8, std.mem.trim(u8, result.stdout, "\n \t")) catch unreachable; } } |
