You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rustup update fails, it doesn't return an exit code that indicate failure but instead returns 0.
Steps
Be in a situation where rustup update fails, for example by disabling your network connection
Run rustup update
The command returns the exit code 0, or success
Possible Solution(s)
Return an exit code different than 0 in case of failure
Notes
No response
Rustup version
rustup 1.26.0 (2023-05-04)info: This is the version for the rustup toolchain manager, not the rustc compiler.info: The currently active `rustc` version is `rustc 1.72.0 (5680fa18f 2023-08-23)`
Installed toolchains
Not relevant
The text was updated successfully, but these errors were encountered:
Thanks for @roife's confirmation: this issue doesn't seem to be reproducible with the official prebuilt binary, so this could be a specificity of the no-self-update feature.
Problem
When
rustup update
fails, it doesn't return an exit code that indicate failure but instead returns 0.Steps
rustup update
fails, for example by disabling your network connectionrustup update
Possible Solution(s)
Return an exit code different than 0 in case of failure
Notes
No response
Rustup version
Installed toolchains
Not relevant
The text was updated successfully, but these errors were encountered: