Skip to content

Suggest another toolchain when removing a component/target unavailable to the current toolchain #4164

Open
@FlareFlo

Description

@FlareFlo

Problem you are trying to solve

  1. rustup update fails (unrelated to issue)
    Image
  2. rustup target remove wasm32-wasi fails
    Image
  3. rustup +target remove wasm32-wasi succeeds, as the default toolchain was nightly as specified in .rustup/settings.toml

Solution you'd like

Rustup could search and suggest targets on other versions when the default does not have the target

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions