Skip to content

Commit b0545d6

Browse files
committed
how-to-build-and-run.md: remove stray instructions
the previous command already builds using in-tree std
1 parent f036a30 commit b0545d6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,6 @@ What this command does is:
235235
- Build `library` (the standard libraries) with the stage1 compiler that was just built.
236236
- Assemble a working stage1 sysroot, containing the stage1 compiler and stage1 standard libraries.
237237

238-
To build `rustc` with the in-tree `std`, use this command instead:
239-
240-
```console
241-
./x build library --stage 2
242-
```
243-
244238
This final product (stage1 compiler + libs built using that compiler)
245239
is what you need to build other Rust programs (unless you use `#![no_std]` or
246240
`#![no_core]`).

0 commit comments

Comments
 (0)