-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.bazelrc
More file actions
30 lines (27 loc) · 866 Bytes
/
.bazelrc
File metadata and controls
30 lines (27 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Address sanitizer config
# Use with bazel run --config=asan or lsan
build:asan --strip=never
build:asan --copt -fsanitize=address
build:asan --copt -DADDRESS_SANITIZER
build:asan --copt -O0
build:asan --copt -g
build:asan --copt -fno-omit-frame-pointer
build:asan --linkopt -fsanitize=address
build:asan --sandbox_debug
build:asan --spawn_strategy=standalone
build --host_cxxopt='-std=c++23'
# Memory sanitizer config
build:msan --strip=never
build:msan --copt -fsanitize=memory
build:msan --copt -O0
build:msan --copt -g
build:msan --linkopt -fsanitize=memory
build:msan --sandbox_debug
build:msan --spawn_strategy=standalone
# Thread sanitizer config
build:tsan --copt -fsanitize=thread
build --cxxopt='-std=c++23'
build --cxxopt='-stdlib=libc++'
build --cxxopt='-fexperimental-library'
build --host_cxxopt='-std=c++23'
build --host_cxxopt='-stdlib=libc++'