From 7704cf2c5dd54a8e7a2d626e1ba0ebc8f8674909 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Fri, 29 Apr 2022 10:32:34 -0700 Subject: [PATCH] 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. --- src/doc/unstable-book/src/compiler-flags/cf-protection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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