From 28dbeaf5c44bc7f5111ad412e99f2d7c5cec6c90 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sat, 29 Apr 2023 15:15:09 -0700 Subject: [PATCH] Add unset-exec-env compiletest header. This header was added in https://github.com/rust-lang/rust/pull/110644/. --- src/tests/headers.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/headers.md b/src/tests/headers.md index e5e403b5e..682c96b44 100644 --- a/src/tests/headers.md +++ b/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`.