Skip to content

"cargo install --target-dir" does not work #8263

@RalfJung

Description

@RalfJung

cargo install clearly needs a target dir, and honors the CARGO_TARGET_DIR env var. But for some reason it does not accept the --target-dir flag, unlike the other commands.

Would be nice to make this consistent. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cliArea: Command-line interface, option parsing, etc.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-installE-easyExperience: Easy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions