Skip to content

Document the use of toolchain link #954

@jonhoo

Description

@jonhoo

The current output of toolchain --help mentions that "rustup can also install toolchains from [..] local builds", but then does not go into further detail. toolchain link is the command meant for that purpose, but its --help output is, well, unhelpful:

$ rustup toolchain link --help
rustup-toolchain-link
Create a custom toolchain by symlinking to a directory

USAGE:
    rustup toolchain link <toolchain> <path>

FLAGS:
    -h, --help    Prints help information

ARGS:
    <toolchain>
    <path>

In particular, it should at the very least be noted that path should be /path/to/rust/build/$triple/stage1, and link should be pointed to from toolchain --help. It'd also be useful to mention that only a rustc build is required, not a full cargo build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions