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

download-rustc: Give a better error message if artifacts can't be dowloaded #110118

Merged
merged 1 commit into from
Apr 30, 2023

Commits on Apr 29, 2023

  1. download-rustc: Give a better error message if artifacts can't be dow…

    …nloaded
    
    Before:
    ```
    downloading https://ci-artifacts.rust-lang.org/rustc-builds/bf5cad8e775fb326465e5c1b98693e5d259da156/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz
    curl: (22) The requested URL returned error: 404
    ```
    
    After:
    ```
    downloading https://ci-artifacts.rust-lang.org/rustc-builds/bf5cad8e775fb326465e5c1b98693e5d259da156/rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz
    curl: (22) The requested URL returned error: 404
    
    error: failed to download pre-built rustc from CI
    
    note: old builds get deleted after a certain time
    help: if trying to compile an old commit of rustc, disable `download-rustc` in config.toml:
    
    [rust]
    download-rustc = false
    ```
    jyn514 committed Apr 29, 2023
    Configuration menu
    Copy the full SHA
    d50ce15 View commit details
    Browse the repository at this point in the history