Skip to content

Commit 41f0773

Browse files
committed
more strictness
1 parent e3ca17b commit 41f0773

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.bazelrc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
66

77
build --features=parse_headers
8-
#build --features=layering_check
8+
build --features=layering_check
99

1010
# Don't try to build .so and .dylib shared libs (instead of static) libs on Linux/OSX
1111
# For some reason, with clang-cl, it also tried to do on Windows, where dynamic linking just does not support it.
@@ -27,6 +27,7 @@ build --experimental_convenience_symlinks=clean
2727

2828
build:windows --copt="/Brepro" --copt="/guard:cf" --copt="/guard:ehcont" --copt="/Z7" --copt="/JMC-" --copt="/sdl"
2929
build:windows --linkopt="/Brepro" --linkopt="/guard:cf" --linkopt="/guard:ehcont" --linkopt="/DEBUG:FULL" --linkopt="/CETCOMPAT" --linkopt="/SWAPRUN:NET,CD" --linkopt="/OPT:REF,ICF" --linkopt="/RELEASE" --linkopt="/DEBUGTYPE:CV,PDATA,FIXUP"
30+
build:windows --copt="/Zc:strictStrings"
3031
build:windows --host_linkopt="shell32.lib"
3132
# Requires Visual Studio 2019 Build Tools installed in default location with the latest compiler (14.29.30133) for x64
3233
build:windows --action_env=BAZEL_VC_FULL_VERSION=14.29.30133 --action_env=BAZEL_WINSDK_FULL_VERSION=10.0.22621.0
@@ -44,7 +45,6 @@ build:linux --copt=-g --strip=never
4445
build:linux --action_env=CC=/usr/bin/clang-19
4546
build:linux --host_action_env=CC=/usr/bin/clang-19
4647

47-
4848
build:macos --copt=-DCIVETWEB_API= --copt=-DCIVETWEB_CXX_API= --cxxopt=-DCIVETWEB_API= --cxxopt=-DCIVETWEB_CXX_API=
4949
build:macos --cxxopt=-fvisibility=hidden --copt=-fvisibility=hidden
5050
build:macos --strip=never --copt=-g --cxxopt=-g
@@ -88,12 +88,11 @@ mod --charset=ascii
8888
common --nobuild_runfile_links
8989
startup --windows_enable_symlinks
9090

91-
# common --experimental_disable_external_package
9291
# common --incompatible_disable_starlark_host_transitions
9392
# common --incompatible_disable_target_default_provider_fields
9493
# common --incompatible_no_rule_outputs_param
9594
# common --incompatible_stop_exporting_language_modules
96-
# common --incompatible_use_host_features
95+
common --experimental_disable_external_package
9796
common --experimental_platforms_api
9897
common --experimental_repository_cache_hardlinks
9998
common --incompatible_auto_exec_groups

0 commit comments

Comments
 (0)