diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-26 02:34:57 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-26 02:34:57 -0700 |
| commit | a23b1b425480b4e10c539d9032270487d9fe6cd0 (patch) | |
| tree | 837f6cfebbbb985e484641d4ed9ade6ace5be6ff /src | |
| parent | 1337f0bc6adf7f57466228efe09ba2c22e4683ae (diff) | |
| download | zig-a23b1b425480b4e10c539d9032270487d9fe6cd0.tar.gz zig-a23b1b425480b4e10c539d9032270487d9fe6cd0.zip | |
stage2: building musl: fix typo in replacing path separators
Diffstat (limited to 'src')
| -rw-r--r-- | src/musl.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/musl.zig b/src/musl.zig index 4f03004a70..d64d643227 100644 --- a/src/musl.zig +++ b/src/musl.zig @@ -235,7 +235,7 @@ fn addSrcFile(arena: *Allocator, source_table: *std.StringArrayHashMap(Ext), fil const mutable_file_path = try arena.dupe(u8, file_path); for (mutable_file_path) |*c| { if (c.* == '/') { - c.* == path.sep; + c.* = path.sep; } } break :blk mutable_file_path; |
