Commit 456d7e5f5f

Andrew Kelley <andrew@ziglang.org>
2021-10-01 20:40:06
libcxx: update to compile with -std=c++20
This is required to successfully build libc++.
1 parent 1bbec59
Changed files (1)
src/libcxx.zig
@@ -158,7 +158,7 @@ pub fn buildLibCXX(comp: *Compilation) !void {
             try cflags.append("-fPIC");
         }
         try cflags.append("-nostdinc++");
-        try cflags.append("-std=c++14");
+        try cflags.append("-std=c++20");
         try cflags.append("-Wno-user-defined-literals");
 
         c_source_files.appendAssumeCapacity(.{