about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2023-04-29 15:15:09 -0700
committerTshepang Mbambo <tshepang@gmail.com>2023-05-02 04:20:21 +0200
commit2f6d11e0d3650b1c0fbf627f7c033b2c11fc55f0 (patch)
tree81edc2e3423b02fb6fe277dc6fde483caf6fd31a /src/doc/rustc-dev-guide
parent6e45e5d85513885342aace3dd30df2c801ef7984 (diff)
downloadrust-2f6d11e0d3650b1c0fbf627f7c033b2c11fc55f0.tar.gz
rust-2f6d11e0d3650b1c0fbf627f7c033b2c11fc55f0.zip
Add unset-exec-env compiletest header.
This header was added in https://github.com/rust-lang/rust/pull/110644/.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/headers.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/headers.md b/src/doc/rustc-dev-guide/src/tests/headers.md
index e5e403b5e58..682c96b44c4 100644
--- a/src/doc/rustc-dev-guide/src/tests/headers.md
+++ b/src/doc/rustc-dev-guide/src/tests/headers.md
@@ -74,6 +74,7 @@ found in [`header.rs`] from the compiletest source.
 * [Environment variable headers](#environment-variable-headers)
     * `rustc-env`
     * `exec-env`
+    * `unset-exec-env`
     * `unset-rustc-env`
 * [Miscellaneous headers](#miscellaneous-headers)
     * `compile-flags` — adds compiler flags
@@ -179,6 +180,8 @@ The following headers affect environment variables.
   form `KEY=VALUE`.
 * `exec-env` is an environment variable to set when executing a test of the
   form `KEY=VALUE`.
+* `unset-exec-env` specifies an environment variable to unset when executing a
+  test.
 * `unset-rustc-env` specifies an environment variable to unset when running
   `rustc`.