-
Notifications
You must be signed in to change notification settings - Fork 860
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
The error reading rustc version
message could be improved
#3607
Comments
@rustrust Thanks for filing this issue! It seems that you're using Rust on macOS, so Maybe you're setting up cross compilation? In that case, you should add a new target triple under your Please feel free to tell me if have further concerns. |
To prevent others from being perplexed by this in the future, maybe a different error message (one not using the word "error") might be helpful here? |
@rustrust This error only indicates that IRL this can happen for multiple reasons, e.g. the permission is not correct, the binary is corrupted, etc. Although accidentally installing the binary built for another platform is indeed another possible reason, this particular situation should be quite rare IMHO. Do you happen to have any specific error message in mind? |
It would probably be helpful if we can propagate/show the exact error condition that triggered this. |
error reading rustc version
message could be improved
Reopening since it's still valuable to enhance the error message. |
Problem
M1 macOS 12.4.1
Steps
rustup update with stable-x86_64-unknown-linux-gnu toolchain
Possible Solution(s)
No response
Notes
No response
Rustup version
The text was updated successfully, but these errors were encountered: