diff options
| author | bit-aloo <sshourya17@gmail.com> | 2025-09-03 17:15:58 +0530 |
|---|---|---|
| committer | bit-aloo <sshourya17@gmail.com> | 2025-09-03 17:15:58 +0530 |
| commit | 9f3fe4084ab3012e6a4e3ca74228a2194ed863cc (patch) | |
| tree | 7d7fe909cf95fa2c9b4b5f16308f2de2a8bfcb61 | |
| parent | c4a5408873601612981a963c76b8233c5bc93ed2 (diff) | |
| download | rust-9f3fe4084ab3012e6a4e3ca74228a2194ed863cc.tar.gz rust-9f3fe4084ab3012e6a4e3ca74228a2194ed863cc.zip | |
remove thread option from self-test invocation
| -rw-r--r-- | src/bootstrap/src/core/build_steps/test.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 43d47e0f7dd..7175a6492de 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -3294,8 +3294,7 @@ impl Step for Bootstrap { .env("INSTA_WORKSPACE_ROOT", &builder.src) .env("RUSTC_BOOTSTRAP", "1"); - let threads = std::thread::available_parallelism().map(|n| n.get()).unwrap_or(1); - run_cargo_test(cargo, &["--test-threads", &threads.to_string()], &[], None, host, builder); + run_cargo_test(cargo, &[], &[], None, host, builder); } fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { |
