From 9583cbabf23aad3f58a7453de8617ee90c4683ce Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Thu, 30 Oct 2025 14:18:56 +0800 Subject: [PATCH] fix: Disable ASan and UBSan in dev builds on macOS For more context, see GRAPH-1310. --- .bazelrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.bazelrc b/.bazelrc index ecbc505c..1d35e464 100644 --- a/.bazelrc +++ b/.bazelrc @@ -75,8 +75,10 @@ build:ubsan --copt="-fsanitize=undefined" --copt="-fno-sanitize=vptr,function" - build:ci --config=asserts build:ci --config=stacktraces -build:ci --config=asan -build:ci --config=ubsan +# FIXME(issue: GRAPH-1310): We should remove the Linux-specific bit below +# to make debugging memory-related issues easier on macOS. +build:ci:linux --config=asan +build:ci:linux --config=ubsan build:dev --config=ci build:dev --copt="-Og" # For testing against large projects locally