Skip to content

Option to indicate update via exit code #4987

Description

@joshtriplett

Problem you are trying to solve

I'd like to run rustup update stable and get an indication of whether stable actually updated, without parsing rustup's human-readable output.

Solution you'd like

I'd like to have an option to have rustup update set an exit code based on whether any of the requested toolchains had an update. (This shouldn't be the default, since that might cause workflows to fail when a no-op update occurs.)

Notes

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions