authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-01-10 18:50:32+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-01-12 11:57:40-07:00
log1c6103825543bbbc37cdc60d9d9609c5625454f3
tree6167de63ed6412059a78eb27f0ba0b1b2569e783
parent73cbc13a971f6b3624350579e40638ca9ce696a1

Build fs/filesystem libcxx module when targeting GNU Win


1 files changed, 2 insertions(+), 2 deletions(-)

src/libcxx.zig+2-2
......@@ -114,8 +114,8 @@ pub fn buildLibCXX(comp: *Compilation) !void {
114114 for (libcxx_files) |cxx_src| {
115115 var cflags = std.ArrayList([]const u8).init(arena);
116116
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).
119119 if (std.mem.startsWith(u8, cxx_src, "src/filesystem/"))
120120 continue;
121121 }