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:
Andrew Brown 2022-04-29 10:32:34 -07:00
parent 683c582c1e
commit 7704cf2c5d
1 changed files with 1 additions and 1 deletions

View File

@ -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