Skip to content

Commit

Permalink
docs: update documentation for removal of build-std --target requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
harmou01 committed Sep 25, 2024
1 parent b6e1942 commit 5a66672
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,6 @@ component:
$ rustup component add rust-src --toolchain nightly
```

It is also required today that the `-Z build-std` flag is combined with the
`--target` flag. Note that you're not forced to do a cross compilation, you're
just forced to pass `--target` in one form or another.

Usage looks like:

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

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

Expand Down

0 comments on commit 5a66672

Please sign in to comment.