Release2 sources
Enabling the parallel frontend on nightly
Rust Blog · By Jakub Beránek ·
The Brief · written from 2 sources
- The Rust compiler's backend (LLVM) has long used multiple threads, but the frontend has run sequentially by default.
- Rust Nightly is beginning to enable the parallel frontend by default.
- The goal is to find remaining issues before the parallel frontend is stabilized.
Why it matters
Developers using Rust nightly may see the compiler's frontend run in parallel by default, and reporting problems now helps the feature reach stable Rust.
Who’s affected
- Rust nightly users
TL;DR: We are enabling the parallel frontend of the Rust compiler on nightly by default, to find remaining issues in preparation for its stabilization. Context The Rust compiler has been using multiple threads to compile code in its "backend" part (using LLVM) for a long time…