@@ -74,11 +74,15 @@ build:clang-cl --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-cl
build:clang-cl --extra_execution_platforms=//:x64_windows-clang-cl
build:clang-cl --platforms=//:x64_windows-clang-cl
build:libc++ --cxxopt=-stdlib=libc++
build:libc++ --cxxopt=-fexperimental-library
build:libc++ --linkopt=-stdlib=libc++
build:libc++ --cxxopt=-stdlib=libc++
build:libc++ --host_cxxopt=-stdlib=libc++
build:libc++ --cxxopt=-fexperimental-library
build:libc++ --host_cxxopt=-fexperimental-library
build:libc++ --linkopt=-stdlib=libc++
build:libc++ --host_linkopt=-stdlib=libc++
# https://releases.llvm.org/16.0.0/projects/libcxx/docs/ReleaseNotes.html#upcoming-deprecations-and-removals
build:libc++ --copt=-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES
build:libc++ --copt=-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES
build:libc++ --host_copt=-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES
# Some of this is from "Can I run AddressSanitizer with more aggressive diagnostics enabled?"
# on https://github.com/google/sanitizers/wiki/AddressSanitizer#faq and some is from