Skip to content

Commit 2986bef

Browse files
authored
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.
2 parents 2003d83 + 7704cf2 commit 2986bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/unstable-book/src/compiler-flags/cf-protection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ standard library does not ship with CET enabled by default, so you may need to r
1717
modules with a `cargo` command like:
1818

1919
```sh
20-
$ RUSTFLAGS="-Z cf-protection=full" RUSTC="rustc-custom" cargo +nightly build -Z build-std --target x86_64-unknown-linux-gnu
20+
$ RUSTFLAGS="-Z cf-protection=full" cargo +nightly build -Z build-std --target x86_64-unknown-linux-gnu
2121
```
2222

2323
### Detection

0 commit comments

Comments
 (0)