Skip to content

RUSTC_WRAPPER is ignored #45

Closed
Closed
@RalfJung

Description

@RalfJung

rustc-version has the same issue as rust-lang/cargo#10885: it will by default ignore RUSTC_WRAPPER, so tools that expect to intercept all communication between a build and rustc by setting the wrapper will get entirely bypassed. If the wrapper ends up invoking an entirely different version of rustc than what is in the PATH, that can lead to incorrect results (e.g. when rustc-version is used from a build script).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions