Skip to content

Fix toolchain auto installation through rustup-toolchain-install-master #1361

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

Merged
merged 1 commit into from
Jul 20, 2022
Merged

Fix toolchain auto installation through rustup-toolchain-install-master #1361

merged 1 commit into from
Jul 20, 2022

Conversation

tmiasko
Copy link
Contributor

@tmiasko tmiasko commented Jul 20, 2022

rustup no longer uses 101 exit code when it fails to locate the toolchain:

$ rustup which rustc --toolchain f426146460c5446bb41ac0b677bbfe5b6ff502ba
error: toolchain 'f426146460c5446bb41ac0b677bbfe5b6ff502ba' is not installed
$ echo $?
1

rustup no longer uses 101 exit code when it fails to locate the toolchain:

```console
$ rustup which rustc --toolchain f426146460c5446bb41ac0b677bbfe5b6ff502ba
error: toolchain 'f426146460c5446bb41ac0b677bbfe5b6ff502ba' is not installed
$ echo $?
1
```
@rylev rylev merged commit e32e772 into rust-lang:master Jul 20, 2022
@Kobzol Kobzol mentioned this pull request Jul 21, 2022
@tmiasko tmiasko deleted the auto-install branch July 22, 2022 13:07
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

Successfully merging this pull request may close these issues.

2 participants