Flipped `incompatible_runfiles_cargo_manifest_dir` (#2948)

This commit is contained in:
UebelAndre 2024-10-23 11:18:32 -07:00 committed by GitHub
parent 376714c12d
commit 972ea316b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -98,10 +98,8 @@ tasks:
platform: windows
build_flags:
- "--noenable_runfiles"
- "--//cargo/settings:incompatible_runfiles_cargo_manifest_dir=true"
test_flags:
- "--noenable_runfiles"
- "--//cargo/settings:incompatible_runfiles_cargo_manifest_dir=true"
build_targets: *default_windows_no_runfiles_targets
test_targets: *default_windows_no_runfiles_targets
ubuntu2004_split_coverage_postprocessing:
@ -204,12 +202,10 @@ tasks:
- "--noenable_runfiles"
- "--config=rustfmt"
- "--config=clippy"
- "--//cargo/settings:incompatible_runfiles_cargo_manifest_dir=true"
test_flags:
- "--noenable_runfiles"
- "--config=rustfmt"
- "--config=clippy"
- "--//cargo/settings:incompatible_runfiles_cargo_manifest_dir=true"
build_targets: *default_windows_no_runfiles_targets
test_targets: *default_windows_no_runfiles_targets
windows_rolling_with_aspects:

View File

@ -15,7 +15,7 @@ bool_flag(
# https://github.com/bazelbuild/bazel/issues/15486
bool_flag(
name = "incompatible_runfiles_cargo_manifest_dir",
build_setting_default = False,
build_setting_default = True,
)
# A flag which determines what files are retained in `CARGO_MANIFEST_DIR` directories