mirror of https://github.com/rust-lang/rust.git
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:
parent
683c582c1e
commit
7704cf2c5d
|
@ -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:
|
modules with a `cargo` command like:
|
||||||
|
|
||||||
```sh
|
```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
|
### Detection
|
||||||
|
|
Loading…
Reference in New Issue