Add unset-exec-env compiletest header.

This header was added in https://github.com/rust-lang/rust/pull/110644/.
This commit is contained in:
Eric Huss 2023-04-29 15:15:09 -07:00 committed by Tshepang Mbambo
parent 533a8ec5ad
commit 28dbeaf5c4
1 changed files with 3 additions and 0 deletions

View File

@ -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`.