authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-01-10 18:50:32+01:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-01-10 23:40:15+01:00
log97c6d4fb3e78815d08cd61c63fcce57ab08b55ea
tree4505403b6b9ca51c09d40b47f8c0c882c08482df
parenta4e6291fbdf83dec0d353af745c241bc7e01b3f2

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 }