Skip to content

Document environment variables used by programs rustc invokes underneath (linkers, etc) #84386

Open
@boris-kolpackov

Description

@boris-kolpackov

This is related to issue #16330: rustc invokes other programs underneath (most notably, a linker) which recognize environment variables of their own. A prominent example would be the LIB variable that is recognized by Microsoft link.exe (and lld-link) which is what, as I understand, is used by rustc on Windows.

Having an accurate list of environment variables that can affect the result of compilation is important to build systems that track changes to the environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions