Files
rust/compiler/rustc_interface/src
Jakub Beránek 21cfaf72f1 Rollup merge of #160424 - petrochenkov:jobdflt, r=bjorn3
Use `thread::available_parallelism` as the default limit for backend parallelism

Instead of the old scheme with 32-or-unlimited, depending on inherited-ness of the jobserver.

Not sure if this needs some wider discussion or not.
In the most common case (rustc is called from cargo) nothing changes, because cargo already limits the parallelism to `thread::available_parallelism` by default, and passes this limit to rustc through jobserver.

https://github.com/rust-lang/rust/pull/160387 will become simpler if this PR is merged first.
r? @bjorn3 @Zoxc
2026-08-04 11:10:16 +02:00
..
2026-06-22 10:22:53 +03:00
2026-07-21 15:26:08 +02:00