-
Notifications
You must be signed in to change notification settings - Fork 884
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 target add" fails for required components #441
Comments
Yep. |
Adding
|
2 years later, and I just encountered a CI error for this. Did this issue get lost? |
The same error on travis-ci: $ if [[ $TRAVIS_OS_NAME = linux && $HOST != $TARGET ]]; then rustup target add $TARGET; fi
error: component 'rust-std' for target 'x86_64-unknown-linux-gnu' was automatically added because it is required for toolchain 'stable-x86_64-unknown-linux-gnu' |
Ditto. I'm seeing this error on our Windows build nodes:
Very confusing error message IMHO; I'm really not sure why this command would fail with an error that sounds like a success message. Edit: Related https://github.com/rust-lang-nursery/rustup.rs/pull/1255/files. IMHO the message was clearer before this PR, but that's just my opinion... 😄 |
If you
rustup target add
for the host toolchain's standard library it returns an error, but for scripting it'd be nice if it just said "OK" instead perhaps?The text was updated successfully, but these errors were encountered: