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

Automatically install override toolchain when missing. #1250

Merged
merged 2 commits into from
Oct 17, 2017

Commits on Oct 15, 2017

  1. Automatically install override toolchain when missing.

    A typical scenario is:
    
    * I work on a repository that uses `rust-toolchain` to pin to a specific Nightly version
    * I run `git pull`, `rust-toolchain` has been changed to update to a new Rust version
    * I run `cargo build`
    
    Result before this PR (typically): rustup fails with an error like:
    
    ```
    error: override toolchain 'nightly-2017-08-31' is not installed
    info: caused by: the toolchain file at '/home/simon/projects/servo/rust-toolchain' specifies an uninstalled toolchain
    ```
    
    A better result would be to install toolchains as needed.
    
    Closes rust-lang#1218
    SimonSapin committed Oct 15, 2017
    Configuration menu
    Copy the full SHA
    6824535 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2017

  1. Configuration menu
    Copy the full SHA
    eae3131 View commit details
    Browse the repository at this point in the history