| ... | ... | @@ -114,8 +114,8 @@ pub fn buildLibCXX(comp: *Compilation) !void { |
| 114 | 114 | for (libcxx_files) |cxx_src| { |
| 115 | 115 | var cflags = std.ArrayList([]const u8).init(arena); |
| 116 | 116 | |
| 117 | | if (target.os.tag == .windows or target.os.tag == .wasi) { |
| 118 | | // Filesystem stuff isn't supported on WASI and Windows. |
| 117 | if ((target.os.tag == .windows and target.abi == .msvc) or target.os.tag == .wasi) { |
| 118 | // Filesystem stuff isn't supported on WASI and Windows (MSVC). |
| 119 | 119 | if (std.mem.startsWith(u8, cxx_src, "src/filesystem/")) |
| 120 | 120 | continue; |
| 121 | 121 | } |