This flag implements a work-around for bazelbuild/bazel#15486 that enables cargo_build_script to explicitly create a directory to use as a crate's CARGO_MANIFEST_DIR that can be passed to dependent actions.
--@rules_rust//cargo/incompatible_runfiles_cargo_manifest_dir
The intent of this flag is to eliminate non-hermetic behavior in interactions with CARGO_MANIFEST_DIR when building without a sandbox. For details see #2887 (comment)
This flag implements a work-around for bazelbuild/bazel#15486 that enables
cargo_build_scriptto explicitly create a directory to use as a crate'sCARGO_MANIFEST_DIRthat can be passed to dependent actions.The intent of this flag is to eliminate non-hermetic behavior in interactions with
CARGO_MANIFEST_DIRwhen building without a sandbox. For details see #2887 (comment)