Skip to content

Add flag to ignore all parent directory configs #7621

@stevenroose

Description

@stevenroose

Describe the problem you are trying to solve
Cargo often behaves very unexpectedly and often the cause of this is .cargo/config files or Cargo.toml workspace definitions in one of the parent directories. One example of an issue that could have been workaround with this feature is #7620.

Describe the solution you'd like
A flag --no-parent or something along those lines that makes cargo totally independent from configurations set in parent directories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configurationArea: cargo config files and env varsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions