diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-03-27 21:05:42 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-03-27 22:38:37 +0300 |
| commit | 7217148edf28a0d3ab69b8c36b13d29c023e12fd (patch) | |
| tree | 082c659c0fd97bfa274baa507399d066f83c56a5 /build.zig | |
| parent | bda7993bebf6c13d1c4f98269c80a2463f99e659 (diff) | |
| download | zig-7217148edf28a0d3ab69b8c36b13d29c023e12fd.tar.gz zig-7217148edf28a0d3ab69b8c36b13d29c023e12fd.zip | |
Value: hash lazy_align
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -613,7 +613,8 @@ fn addCxxKnownPath( ctx.cxx_compiler, b.fmt("-print-file-name={s}", .{objname}), }); - const path_unpadded = mem.tokenize(u8, path_padded, "\r\n").next().?; + var tokenizer = mem.tokenize(u8, path_padded, "\r\n"); + const path_unpadded = tokenizer.next().?; if (mem.eql(u8, path_unpadded, objname)) { if (errtxt) |msg| { std.debug.print("{s}", .{msg}); |
