about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Brown <andrew.brown@intel.com>2022-04-29 10:32:34 -0700
committerAndrew Brown <andrew.brown@intel.com>2022-04-29 10:32:37 -0700
commit7704cf2c5dd54a8e7a2d626e1ba0ebc8f8674909 (patch)
tree6aaec8f6a7bcc55804288bd56b94453051f1d26f
parent683c582c1e88c573c454b7fa6f00bc6647421864 (diff)
downloadrust-7704cf2c5dd54a8e7a2d626e1ba0ebc8f8674909.tar.gz
rust-7704cf2c5dd54a8e7a2d626e1ba0ebc8f8674909.zip
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