The Rust compiler team has turned on the parallel frontend by default on the nightly channel, starting with nightly-2026-11-14. Nightly now uses two frontend threads. Stable Rust still compiles with a single-threaded frontend. The team’s post of November 16 says the aim is to find the remaining bugs before the feature is stabilized, and it includes benchmark numbers.
What the parallel frontend covers
Rust compilation has two halves. The backend, which hands code to LLVM, has long used several threads. The frontend, which includes type checking and borrow checking, ran on one thread. Parallel frontend work started as an opt-in on nightly three years ago, with a plan to stabilize it in 2024 that the team says it missed.
On nightly you do not need to do anything. To change the thread count, pass --jobs-frontend=N through RUSTFLAGS or .cargo/config.toml:
[build]
rustflags = ["-Zunstable-options", "--jobs-frontend=8"]
Setting --jobs-frontend=1 turns the parallel frontend off. The team asks anyone who has to do that to say why on GitHub or Zulip.
The benchmark table as speed-ups
The Rust team reports the mean change in wall-clock time for building one real-world crate from scratch, compared with a sequential frontend. A time cut of 44.23% is not a 44% speed-up, so we converted each figure with 1 ÷ (1 − cut). The conversion is our arithmetic, not the Rust team’s.
| Frontend threads | check | clippy | debug | opt |
|---|---|---|---|---|
| 2 (nightly default) | -21.95% (1.28x) | -20.74% (1.26x) | -14.2% (1.17x) | -12.51% (1.14x) |
| 4 | -37.99% (1.61x) | -36.01% (1.56x) | -29.14% (1.41x) | -23.67% (1.31x) |
| 8 | -44.23% (1.79x) | -41.76% (1.72x) | -36.1% (1.56x) | -27.88% (1.39x) |
As a worked example, a cargo check that takes 100 seconds on the sequential frontend would take about 78 seconds with two threads, 62 with four and 56 with eight, if it matched the mean. The team notes that some crates, including nalgebra, cargo and diesel, got almost three times faster on check with eight threads, while in other benchmarks the parallel frontend barely helped.
Whole projects gain less than single crates
The table measures one crate at a time. A real build compiles many crates at once and runs LLVM on several cores, so the cores are often busy already. The team checked the whole dependency graph of the cargo crate on an 8-core machine:
| Frontend threads | cargo check time | Change vs 1 thread |
|---|---|---|
| 1 | 36.7 s | none |
| 2 | 35.1 s | -4.4% |
| 4 | 31.9 s | -13.1% |
| 8 | 30.8 s | -16.1% |
So the default of two threads should save a few percent on a project like this, and going from four to eight threads saves another 3.4%. Incremental rebuilds improved by 3 to 5% on average in the team’s benchmarks, which it calls hard to measure; your results will vary with what you change.
Trade-offs the team lists
- Scaling is expected to flatten above about 8 threads, and higher counts raise memory use, in extreme cases to the point of running out of memory. The team chose two threads as a conservative default for that reason.
- The order of diagnostics may differ between runs.
- Some binaries may not be reproducible with the parallel frontend. The team treats that as a bug and tracks known cases. If you rely on bit-for-bit output, see our explainer on reproducible builds and test before raising the thread count.
What comes next
Over the next few months the team will watch GitHub and Zulip for reports. If there are no major problems, it intends to stabilize the feature, but it gives no date. It also plans to parallelize more of the frontend, including an open pull request for lowering the syntax tree to the high-level intermediate representation (HIR).





