diff options
| author | Ed Page <eopage@gmail.com> | 2025-08-11 15:06:32 -0500 |
|---|---|---|
| committer | Ed Page <eopage@gmail.com> | 2025-08-11 15:06:32 -0500 |
| commit | c1a31d81031613a52b509f75ddc8cdf7285cc43a (patch) | |
| tree | 81ef067d59833ea38b5e96fca7a969dbff7e8ed4 /compiler/rustc_codegen_gcc | |
| parent | 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a (diff) | |
| download | rust-c1a31d81031613a52b509f75ddc8cdf7285cc43a.tar.gz rust-c1a31d81031613a52b509f75ddc8cdf7285cc43a.zip | |
Deprecate RUST_TEST_* env variables
This is a documentation-only deprecation for now. Over time, we can - warn and then remove on use of unstable environment variables - warn on use of stable environment variables (no plan to remove due to compatibility) Longer term, we expect test runners, like `cargo test`, to provide the necessary mechanisms for environmental or persistent configuration (e.g. using cargo config which supports `.cargo/config.toml` as well as environment variables). This would include: - `RUST_TEST_THREADS` - `RUST_TEST_NOCAPTURE` - `RUST_TEST_SHUFFLE` (unstable) - `RUST_TEST_SHUFFLE_SEED` (unstable) The primary outcomes for this change are - Reducing the scope of what is expected for custom test harnesses to implement - Reduce the mechanisms that test runners, like `cargo test`, are expected to track when they are being bypassed to protect against negative interactions, e.g. `RUST_TEST_NOCAPTURE=1` when json output is being read.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
