Skip to content

Commit

Permalink
Flip experimental_use_coverage_metadata_files
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Aug 24, 2023
1 parent 81af2f9 commit 963e34c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rust/settings/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 963e34c

Please sign in to comment.