Skip to content

Describe how to remove components when update fails #2355

@shepmaster

Description

@shepmaster

Describe the problem you are trying to solve

When upgrading to a Rust version missing currently installed components, we get the error message including the text

If you require these components

This has great text for what to do in this case, but we don't discuss the other case!

(Filed due to a Stack Overflow question: Unable to update stable rustup toolchain: some components unavailable for target i386-apple-ios, armv7s-apple-ios)

Describe the solution you'd like

It would be good to describe how to remove the components if we don't need them anymore (ideally copy-pastable).

Something like:

rustup component remove --toolchain $TC --target $TG $NAME

For each conflicting component.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions