Skip to content

Feature request: rustup toolchain rename  #1299

Open
@ketsuban

Description

@ketsuban

This may be a bit niche but...

I was hit by the most recent nightly not including the RLS and had to downgrade, but I wanted to retain the name nightly (rather than nightly-2017-11-30). This turned out to need two different folders to be renamed:

$RUSTUP_HOME/toolchains/<toolchain> - so it'll show up as e.g. nightly-x86_64-pc-windows-msvc in rustup toolchain list.
$RUSTUP_HOME/update-hashes/<toolchain> - I initially installed nightly-2017-12-02, but that's the one that doesn't have the RLS! Trying to rustup toolchain uninstall it got me an error because I hadn't renamed this folder.

A single rustup command such as rustup toolchain rename could do this without needing me to know anything about the structure of $RUSTUP_HOME.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions