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.
The current output of
toolchain --helpmentions that "rustupcan also install toolchains from [..] local builds", but then does not go into further detail.toolchain linkis the command meant for that purpose, but its--helpoutput is, well, unhelpful:In particular, it should at the very least be noted that
pathshould be/path/to/rust/build/$triple/stage1, andlinkshould be pointed to fromtoolchain --help. It'd also be useful to mention that only arustcbuild is required, not a fullcargobuild.