Commit a23b1b4254

Andrew Kelley <andrew@ziglang.org>
2020-09-26 11:34:57
stage2: building musl: fix typo in replacing path separators
1 parent 1337f0b
Changed files (1)
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;