Skip to content

Not all .cargo/config settings are settable via environment variables #4728

Closed
@dylanede

Description

@dylanede

For example, the directory for a source cannot be set via an environment variable, i.e.

[source.vendored-sources]
directory = "foo"

cannot be equivalently done via CARGO_SOURCE_VENDORED_SOURCES_DIRECTORY=foo, despite the docs suggesting otherwise.

Also see #3985.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configurationArea: cargo config files and env varsC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions