From 5a6667222c0f3fe4aa8d2b6666ec3767a38a2bdb Mon Sep 17 00:00:00 2001 From: Harry Moulton Date: Wed, 4 Sep 2024 10:02:23 +0100 Subject: [PATCH] docs: update documentation for removal of build-std --target requirement --- src/doc/src/reference/unstable.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/doc/src/reference/unstable.md b/src/doc/src/reference/unstable.md index 84c08860eca..0ef0376cd4d 100644 --- a/src/doc/src/reference/unstable.md +++ b/src/doc/src/reference/unstable.md @@ -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 @@ -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.