Skip to content

In addition to CARGO_TARGET_DIR env var, support --target-dir command line option #5308

Closed
@matklad

Description

@matklad

@nirbheek you wanted this for messon integration. Could you elaborate on why do you think it is better than an environmet variable?

@rust-lang/cargo it seems that such addition would be E-easy and straightforward? The only complication I can think of are build scripts which invoke cargo recursively for whatever reason, but we can just set the env car for them manually. Should we implement this? If yes, I’ll write some mentoring instructions :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyExperience: Easy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions