Allow overriding Rust toolchain in `tox` runs (#12827)

It can be convenient to use different versions of the Rust toolchain for
various `tox` runs.  This can already be done externally to `tox`
by a stateful `rustup override set <x>` followed by clearing the
override after the tox run, but allowing the environment variable to
pass through lets it be localised to just a single run.
This commit is contained in:
Jake Lishman 2024-07-26 22:03:52 +01:00 committed by GitHub
parent c8c53cc6f8
commit b362df0c42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ setenv =
QISKIT_TEST_CAPTURE_STREAMS=1 QISKIT_TEST_CAPTURE_STREAMS=1
QISKIT_PARALLEL=FALSE QISKIT_PARALLEL=FALSE
passenv = passenv =
RUSTUP_TOOLCHAIN
RAYON_NUM_THREADS RAYON_NUM_THREADS
OMP_NUM_THREADS OMP_NUM_THREADS
QISKIT_PARALLEL QISKIT_PARALLEL