Skip to content

Commit 1286504

Browse files
committed
more bazelrc ubsan tweaks
1 parent 78892d0 commit 1286504

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ build --enable_platform_specific_config=true
2020

2121
build --features=external_include_paths
2222

23+
build --per_file_copt=grpc+//@-Wprivate
24+
25+
2326
# The project requires C++ >= 17.
2427
build:linux --cxxopt=-std=c++17
2528
build:macos --cxxopt=-std=c++17
@@ -108,6 +111,8 @@ build:ubsan --copt=-DCURL_STRICTER
108111
build:ubsan --linkopt=-fsanitize=undefined
109112
build:ubsan --linkopt=-fsanitize-link-c++-runtime
110113
build:ubsan --action_env=UBSAN_OPTIONS=halt_on_error=1:print_stacktrace=1
114+
build:ubsan --features=external_include_paths
115+
111116

112117
# --config xsan: Runs misc. sanitizers that aren't covered elsewhere.
113118
build:xsan --config=sanitizer

0 commit comments

Comments
 (0)