Skip to content

Commit b0eb7d0

Browse files
fix: Disable ASan and UBSan in dev builds on macOS (#495)
For more context, see GRAPH-1310.
1 parent cf610e6 commit b0eb7d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.bazelrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ build:ubsan --copt="-fsanitize=undefined" --copt="-fno-sanitize=vptr,function" -
7575

7676
build:ci --config=asserts
7777
build:ci --config=stacktraces
78-
build:ci --config=asan
79-
build:ci --config=ubsan
78+
# FIXME(issue: GRAPH-1310): We should remove the Linux-specific bit below
79+
# to make debugging memory-related issues easier on macOS.
80+
build:ci:linux --config=asan
81+
build:ci:linux --config=ubsan
8082

8183
build:dev --config=ci
8284
build:dev --copt="-Og" # For testing against large projects locally

0 commit comments

Comments
 (0)