mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
Rollup merge of #96560 - abrown:update-docs, r=Dylan-DPC
Remove unnecessary environment variable in cf-protection documentation Before merging the `cf-protection` flag, it was necessary to use a locally-compiled version of `rustc`. This is no longer the case and the documentation should reflect this.
This commit is contained in:
@@ -17,7 +17,7 @@ standard library does not ship with CET enabled by default, so you may need to r
|
||||
modules with a `cargo` command like:
|
||||
|
||||
```sh
|
||||
$ RUSTFLAGS="-Z cf-protection=full" RUSTC="rustc-custom" cargo +nightly build -Z build-std --target x86_64-unknown-linux-gnu
|
||||
$ RUSTFLAGS="-Z cf-protection=full" cargo +nightly build -Z build-std --target x86_64-unknown-linux-gnu
|
||||
```
|
||||
|
||||
### Detection
|
||||
|
||||
Reference in New Issue
Block a user