Update asl to 0.5.0, use the new Bazel cc toolchain

This commit is contained in:
2025-07-14 22:55:42 +02:00
parent 4ed086be0a
commit c01bb84aff
8 changed files with 53 additions and 45 deletions

View File

@ -1,18 +1,13 @@
common --registry=https://bcr.bazel.build/
common --registry=https://bazel.stevenlr.com/registry/
startup --windows_enable_symlinks
build:windows --enable_runfiles=true
build --enable_platform_specific_config
build:windows --extra_execution_platforms=//:x64_windows-clang-cl
build:windows --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
build:windows --cxxopt=-Xclang=-std=c++23
common --incompatible_autoload_externally=+@rules_python
build --features=external_include_paths
build --cxxopt=-Wall
build --features=c++23
build --cxxopt=-Weverything
build --cxxopt=-Wno-c++98-compat
build --cxxopt=-Wno-c++98-compat-pedantic
build --cxxopt=-Wno-pre-c++17-compat
@ -25,12 +20,7 @@ build --cxxopt=-Wno-global-constructors
build --cxxopt=-Wno-unsafe-buffer-usage
build --cxxopt=-Wno-covered-switch-default
build:windows_san --config=windows
build:windows_san --copt=-fno-sanitize-ignorelist
build:windows_san --copt=-fsanitize=address
build:windows_san --copt=-fsanitize=undefined
build:windows_san --copt=-fno-sanitize-recover=all
build:windows_san --linkopt=clang_rt.asan-x86_64.lib
build:windows_san --copt=/MT
build:sanitizers --features=asan
build:sanitizers --features=ubsan
test --test_output=errors