Skip to content

Commit 388bceb

Browse files
committed
docs: update documentation for removal of build-std --target requirement
1 parent 09cfc13 commit 388bceb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/doc/src/reference/unstable.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,6 @@ component:
434434
$ rustup component add rust-src --toolchain nightly
435435
```
436436

437-
It is also required today that the `-Z build-std` flag is combined with the
438-
`--target` flag. Note that you're not forced to do a cross compilation, you're
439-
just forced to pass `--target` in one form or another.
440-
441437
Usage looks like:
442438

443439
```console
@@ -471,7 +467,6 @@ The value here is a comma-separated list of standard library crates to build.
471467
As a summary, a list of requirements today to use `-Z build-std` are:
472468

473469
* You must install libstd's source code through `rustup component add rust-src`
474-
* You must pass `--target`
475470
* You must use both a nightly Cargo and a nightly rustc
476471
* The `-Z build-std` flag must be passed to all `cargo` invocations.
477472

0 commit comments

Comments
 (0)