zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 456d7e5f5f5aa09b3b50ebf1398d79503846a801 (tree)
parent 1bbec59e07faa1f581595f316320fd179dbba785
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Fri,  1 Oct 2021 11:40:06 -0700

libcxx: update to compile with -std=c++20

This is required to successfully build libc++.

Diffstat:
Msrc/libcxx.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libcxx.zig b/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(.{