Skip to content

Missing documentation about [env] section #9296

@flxo

Description

@flxo

Problem

With #9175 a new feature landed:

An [env] section in the cargo configuration to pass additional env variables to all program invocations does by cargo.

From the PR:

[env]
FOOBAR = "Apple"
PATH_TO_SOME_TOOL = { value = "bin/tool", relative = true }
USERNAME = { value = "test_user", force = true }

This information is missing in the Cargo Reference/Configuration section.

Possible Solution(s)

Add [env] to the Configuration format section and to the Configuration Keys

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions