Skip to content

Commit

Permalink
Rollup merge of #96560 - abrown:update-docs, r=Dylan-DPC
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Dylan-DPC authored Apr 29, 2022
2 parents 2003d83 + 7704cf2 commit 2986bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/compiler-flags/cf-protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2986bef

Please sign in to comment.