about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-29 23:54:42 +0200
committerGitHub <noreply@github.com>2022-04-29 23:54:42 +0200
commit2986bef53473d9c0692d3130d8289e234db0b2ea (patch)
tree63a7964c27514a67217940a4a19c8be22b939cc2
parent2003d833a5b96b81e47eeaf9b26ba8f6a097d072 (diff)
parent7704cf2c5dd54a8e7a2d626e1ba0ebc8f8674909 (diff)
downloadrust-2986bef53473d9c0692d3130d8289e234db0b2ea.tar.gz
rust-2986bef53473d9c0692d3130d8289e234db0b2ea.zip
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.
-rw-r--r--src/doc/unstable-book/src/compiler-flags/cf-protection.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/cf-protection.md b/src/doc/unstable-book/src/compiler-flags/cf-protection.md
index cc580ca9b42..ab698c82ba9 100644
--- a/src/doc/unstable-book/src/compiler-flags/cf-protection.md
+++ b/src/doc/unstable-book/src/compiler-flags/cf-protection.md
@@ -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