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

rustup update nightly on macOS rustc does not exist #1297

Closed
messense opened this issue Nov 30, 2017 · 2 comments
Closed

rustup update nightly on macOS rustc does not exist #1297

messense opened this issue Nov 30, 2017 · 2 comments

Comments

@messense
Copy link

$ rustup update nightly
info: syncing channel updates for 'nightly-x86_64-apple-darwin'

  nightly-x86_64-apple-darwin unchanged - (rustc does not exist)
$ rustup --version
rustup 1.7.0 (813f7b7a8 2017-10-30)

Is nightly build for macOS down? I have yesterday's nightly installed before running rustup update nightly then rustup removed it while it can't find a newer one to install(I lost that logs on my terminal).

@lorepozo
Copy link

Until this gets resolved, you can use yesterday's nightly which has rustc for darwin:

$ rustup install nightly-2017-11-28

@kennytm
Copy link
Member

kennytm commented Nov 30, 2017

This is caused by rust-lang/rust#46391. Should be fixed tomorrow.

mattico pushed a commit to mattico/rustup.rs that referenced this issue Apr 5, 2018
When the Rust CI is misconfigured, it is possible to produce a nightly
where `rustc` or `cargo` is not available. This makes the entire toolchain
unusable (for one day at least).

This PR tries to prevent the update operation from starting at all if
these essential components are missing, so the user would still have a
working though outdated toolchain.

Resolves rust-lang#1297.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants