From 29cbd1507d518802c16acd30d2ddabad5d27e6ef Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Sun, 16 Aug 2020 18:17:27 -0400 Subject: [PATCH 1/2] Update README for changes in x.py defaults See https://github.com/rust-lang/rust/pull/73964. The choices are either to link to `stage1` with rustup or build stage 2; this recommends to build stage2 to be consistent with the existing docs. --- summarize/Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/summarize/Readme.md b/summarize/Readme.md index 5fe7b27..f220e4f 100644 --- a/summarize/Readme.md +++ b/summarize/Readme.md @@ -80,7 +80,7 @@ You can also profile your own custom build of rustc. First you'll have to clone ```bash $ git clone https://github.com/rust-lang/rust.git -$ ./x.py build +$ ./x.py build --stage 2 # This will take a while... $ rustup toolchain link mytoolchain build/x86_64-unknown-linux-gnu/stage2 ``` From c53c9c951e8a94159a438c74f02e312fa14a24a4 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Sun, 16 Aug 2020 19:16:05 -0400 Subject: [PATCH 2/2] Recommend stage1, not stage2 --- summarize/Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/summarize/Readme.md b/summarize/Readme.md index f220e4f..f5ffb33 100644 --- a/summarize/Readme.md +++ b/summarize/Readme.md @@ -80,9 +80,9 @@ You can also profile your own custom build of rustc. First you'll have to clone ```bash $ git clone https://github.com/rust-lang/rust.git -$ ./x.py build --stage 2 +$ ./x.py build # This will take a while... -$ rustup toolchain link mytoolchain build/x86_64-unknown-linux-gnu/stage2 +$ rustup toolchain link mytoolchain build/x86_64-unknown-linux-gnu/stage1 ``` Where `mytoolchain` is the name of your custom toolchain. Now we do more or less the same