diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 302944f281..85ffbd6adf 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -223,6 +223,9 @@ tasks: # If updating the minimum bazel version, please also update /docs/index.md bazel: "6.0.0" platform: ubuntu1804 + # Disable use of `instrumented_files_info.metadata_files` until Bazel 6.3 is the min version + shell_commands: + echo 'common --experimental_use_coverage_metadata_files=false' > user.bazelrc build_targets: *default_linux_targets test_targets: *default_linux_targets coverage_targets: *default_linux_targets @@ -231,6 +234,9 @@ tasks: name: "Min Bazel Version With Aspects" bazel: "6.0.0" platform: ubuntu1804 + # Disable use of `instrumented_files_info.metadata_files` until Bazel 6.3 is the min version + shell_commands: + echo 'common --experimental_use_coverage_metadata_files=false' > user.bazelrc build_targets: *default_linux_targets test_targets: *default_linux_targets build_flags: *aspects_flags diff --git a/rust/settings/BUILD.bazel b/rust/settings/BUILD.bazel index 0cf1253831..367077a65d 100644 --- a/rust/settings/BUILD.bazel +++ b/rust/settings/BUILD.bazel @@ -56,7 +56,7 @@ bool_flag( # reporting tools like `llvm-cov` and `llvm-profdata` as runfiles to each test. bool_flag( name = "experimental_use_coverage_metadata_files", - build_setting_default = False, + build_setting_default = True, ) bzl_library(