From a23b1b425480b4e10c539d9032270487d9fe6cd0 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 26 Sep 2020 02:34:57 -0700 Subject: [PATCH] stage2: building musl: fix typo in replacing path separators --- src/musl.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;