Skip to content

Commit

Permalink
Allow overriding Rust toolchain in tox runs (#12827)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jakelishman authored Jul 26, 2024
1 parent c8c53cc commit b362df0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ setenv =
QISKIT_TEST_CAPTURE_STREAMS=1
QISKIT_PARALLEL=FALSE
passenv =
RUSTUP_TOOLCHAIN
RAYON_NUM_THREADS
OMP_NUM_THREADS
QISKIT_PARALLEL
Expand Down

0 comments on commit b362df0

Please sign in to comment.