Add parallel-frontend-threads to bootstrap.toml and enable multi-threaded parallel compilation
This commit is contained in:
parent
52618eb338
commit
929c9335dd
6 changed files with 30 additions and 1 deletions
|
|
@ -859,6 +859,14 @@
|
|||
# Trigger a `DebugBreak` after an internal compiler error during bootstrap on Windows
|
||||
#rust.break-on-ice = true
|
||||
|
||||
# Set the number of threads for the compiler frontend used during compilation of Rust code (passed to `-Zthreads`).
|
||||
# The valid options are:
|
||||
# 0 - Set the number of threads according to the detected number of threads of the host system
|
||||
# 1 - Use a single thread for compilation of Rust code (the default)
|
||||
# N - Number of threads used for compilation of Rust code
|
||||
#
|
||||
#rust.parallel-frontend-threads = 1
|
||||
|
||||
# =============================================================================
|
||||
# Distribution options
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue