Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set RUSTC and RUSTDOC env for child processes run through the proxy #2958

Merged
merged 1 commit into from
Mar 10, 2022

Commits on Mar 10, 2022

  1. Set RUSTC and RUSTDOC env for child processes run through the proxy

    This serves two purposes:
    1. It avoids the overhead of having to re-parse `settings.toml` on each proxy.
       In projects with many crates, this can have non-trivial overhead.
    2. For build scripts, it provides an absolute path for RUSTC rather than forcing them to look it up in PATH.
       This allows them to find the sysroot path for the toolchain, rather than ending up somewhere in CARGO_HOME.
    
    The original motivation for this was to allow `bootstrap` in rust-lang/rust
    to allow building stage0 tools without python, only the host rust toolchain.
    jyn514 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    66267c8 View commit details
    Browse the repository at this point in the history