Skip to content

Commit

Permalink
Flipped incompatible_runfiles_cargo_manifest_dir (#2948)
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre authored Oct 23, 2024
1 parent 376714c commit 972ea31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cargo/settings/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 972ea31

Please sign in to comment.