Skip to content

Commit 2a2a942

Browse files
committed
Add e2e/bcr to bazelignore
Also add .bazelrc configuration to disallow auto-importing previously native symbols (e.g. sh_binary)
1 parent 5bfec7b commit 2a2a942

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.bazelignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e2e/bcr

.bazelrc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
build:linux --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
22
build:macos --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
3+
build:windows --cxxopt=/std:c++17 --host_cxxopt=/std:c++17
34

45
build:dbg --compilation_mode=dbg
56

@@ -29,12 +30,12 @@ build:ubsan --copt=-fno-sanitize=function --copt=-fno-sanitize=vptr
2930
build --features=layering_check
3031
common --enable_platform_specific_config
3132

32-
build:windows --cxxopt=/std:c++17
33-
build:windows --host_cxxopt=/std:c++17
34-
3533
common --repo_env=BAZEL_NO_APPLE_CPP_TOOLCHAIN=1
3634

3735

3836
# Allow building with MSVC, which is being deprecated.
3937
# See: https://github.com/protocolbuffers/protobuf/issues/20085
4038
build --define=protobuf_allow_msvc=true
39+
40+
# To facilitate testing in bazelci incompatible flags
41+
build --incompatible_autoload_externally=

0 commit comments

Comments
 (0)