From 91790d316e7d99339dc2ecfbf161e037f20f632f Mon Sep 17 00:00:00 2001 From: Ivan Nejgebauer Date: Thu, 28 Jul 2016 15:20:21 +0200 Subject: [PATCH] Update README with the 'custom-' prefix requirement --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a3bea9e9594..740c8da2615 100644 --- a/README.md +++ b/README.md @@ -357,13 +357,14 @@ local builds of the Rust toolchain. To teach `rustup` about your build just run: ``` -$ rustup toolchain link my-toolchain path/to/my/toolchain/sysroot +$ rustup toolchain link custom-my-toolchain path/to/my/toolchain/sysroot ``` -Now you can name `my-toolchain` as any other `rustup` +(The name for a custom toolchain _must_ have the `custom-` prefix.) +Now you can name `custom-my-toolchain` as any other `rustup` toolchain. Create a `rustup` toolchain for each of your `rust-lang/rust` workspaces and test them easily with `rustup run -my-toolchain rustc`. +custom-my-toolchain rustc`. Because the `rust-lang/rust` tree does not include Cargo, *when `cargo` is invoked for a custom toolchain and it is not available, `rustup`