srctree

Robin Linden parent 22cc2578 657907d7
build: Enable experimental libc++ library features

This is needed for std::ranges in libc++.

inlinesplit
.bazelrc added: 2, removed: 1, total 1
@@ -154,6 +154,7 @@ build:clang-cl --copt='-Wno-missing-field-initializers'
build:clang-cl --copt='-Wno-unused-command-line-argument'
 
build:libc++ --cxxopt=-stdlib=libc++
build:libc++ --cxxopt=-fexperimental-library
build:libc++ --linkopt=-stdlib=libc++
build:libc++ --copt=-D_LIBCPP_ENABLE_NODISCARD
# https://releases.llvm.org/15.0.0/projects/libcxx/docs/ReleaseNotes.html#upcoming-deprecations-and-removals