Skip to content

Cargo incompatible_runfiles_cargo_manifest_dir #2898

@UebelAndre

Description

@UebelAndre

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions