about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorEd Page <eopage@gmail.com>2025-08-11 15:06:32 -0500
committerEd Page <eopage@gmail.com>2025-08-11 15:06:32 -0500
commitc1a31d81031613a52b509f75ddc8cdf7285cc43a (patch)
tree81ef067d59833ea38b5e96fca7a969dbff7e8ed4 /compiler/rustc_codegen_gcc
parent2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a (diff)
downloadrust-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