diff --git a/.bazelrc b/.bazelrc index c2210dda..b7688568 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1 +1,4 @@ .bazelrc.absl + +# Preserve Bazel 7 behavior for optional file globs under Bazel 8. +common --incompatible_disallow_empty_glob=false diff --git a/.bazelrc.absl b/.bazelrc.absl index ca0b0c97..1fb824a9 100644 --- a/.bazelrc.absl +++ b/.bazelrc.absl @@ -16,3 +16,6 @@ build --enable_platform_specific_config build:linux --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' --cxxopt='-DDD_USE_ABSEIL_FOR_ENVOY' --cxxopt='-DABSL_OPTION_USE_STD_OPTIONAL=0' --cxxopt='-DABSL_OPTION_USE_STD_STRING_VIEW=0' --cxxopt='-DABSL_OPTION_USE_STD_VARIANT=0' build:macos --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' --cxxopt='-DDD_USE_ABSEIL_FOR_ENVOY' --cxxopt='-DABSL_OPTION_USE_STD_OPTIONAL=0' --cxxopt='-DABSL_OPTION_USE_STD_STRING_VIEW=0' --cxxopt='-DABSL_OPTION_USE_STD_VARIANT=0' build:windows --cxxopt='/std:c++17' --cxxopt='/DDD_USE_ABSEIL_FOR_ENVOY' --cxxopt='/DABSL_OPTION_USE_STD_OPTIONAL=0' --cxxopt='/DABSL_OPTION_USE_STD_STRING_VIEW=0' --cxxopt='/DABSL_OPTION_USE_STD_VARIANT=0' --linkopt='ws2_32.lib' + +# Preserve Bazel 7 behavior for optional file globs under Bazel 8. +common --incompatible_disallow_empty_glob=false diff --git a/.bazelrc.std b/.bazelrc.std index 802f014d..72da3048 100644 --- a/.bazelrc.std +++ b/.bazelrc.std @@ -13,3 +13,6 @@ build --enable_platform_specific_config build:linux --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' build:macos --cxxopt='-std=c++17' --cxxopt='-Wall' --cxxopt='-Wextra' --cxxopt='-pedantic' build:windows --cxxopt='/std:c++17' --linkopt='ws2_32.lib' + +# Preserve Bazel 7 behavior for optional file globs under Bazel 8. +common --incompatible_disallow_empty_glob=false diff --git a/.bazelversion b/.bazelversion index 44931da2..3b740421 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -9.1.1 +9.3.1