about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-09-25 10:31:05 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-09-25 10:31:05 +0000
commit1ec85a84413c527449ea1772b3f2c2f77b9be3d0 (patch)
treec8dc21d160b5d63fdcc0b1e7a5d089dd4b17ea62
parent9f4e7c69456d56d1ec5ae18a82b816135e0dcdf4 (diff)
downloadrust-1ec85a84413c527449ea1772b3f2c2f77b9be3d0.tar.gz
rust-1ec85a84413c527449ea1772b3f2c2f77b9be3d0.zip
Document new env var
-rw-r--r--src/tools/miri/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/miri/README.md b/src/tools/miri/README.md
index f6a023181d8..6127eada222 100644
--- a/src/tools/miri/README.md
+++ b/src/tools/miri/README.md
@@ -478,6 +478,8 @@ Moreover, Miri recognizes some environment variables:
 * `MIRI_TEST_TARGET` (recognized by the test suite and the `./miri` script) indicates which target
   architecture to test against.  `miri` and `cargo miri` accept the `--target` flag for the same
   purpose.
+* `MIRI_TEST_THREADS` (recognized by the test suite): set the number of threads to use for running tests.
+  By default the number of cores is used.
 * `MIRI_NO_STD` (recognized by `cargo miri` and the test suite) makes sure that the target's
   sysroot is built without libstd. This allows testing and running no_std programs.
 * `RUSTC_BLESS` (recognized by the test suite and `cargo-miri-test/run-test.py`): overwrite all