We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8f471 commit a090c12Copy full SHA for a090c12
src/.bazelrc
@@ -1,3 +1,16 @@
1
# Enable Bzlmod for every Bazel command
2
common --enable_bzlmod
3
-common --cxxopt=-std=c++20
+common --cxxopt=-std=c++20
4
+
5
+# Options to build with address sanitizer support.
6
+#
7
+# Example usage:
8
+# bazel build -c dbg --config=asan <targets>
9
+build:asan --strip=never
10
+build:asan --copt -fsanitize=address
11
+build:asan --copt -DADDRESS_SANITIZER
12
+build:asan --copt -D_GLIBCXX_SANITIZE_VECTOR
13
+build:asan --copt -O1
14
+build:asan --copt -g
15
+build:asan --copt -fno-omit-frame-pointer
16
+build:asan --linkopt -fsanitize=address
0 commit comments