about summary refs log tree commit diff
path: root/src/bootstrap/configure.py
diff options
context:
space:
mode:
authorHaidong Zhang <zhanghaidong@uniontech.com>2025-09-09 18:10:24 +0800
committerHaidong Zhang <zhanghaidong@uniontech.com>2025-09-16 17:53:29 +0800
commit929c9335ddcaf8e59f5b56c986fd58a3310fdac0 (patch)
treeb7c6bf83cb93d47d86da9ac4e4c4eccf4479d0cc /src/bootstrap/configure.py
parent52618eb338609df44978b0ca4451ab7941fd1c7a (diff)
downloadrust-929c9335ddcaf8e59f5b56c986fd58a3310fdac0.tar.gz
rust-929c9335ddcaf8e59f5b56c986fd58a3310fdac0.zip
Add parallel-frontend-threads to bootstrap.toml and enable multi-threaded parallel compilation
Diffstat (limited to 'src/bootstrap/configure.py')
-rwxr-xr-xsrc/bootstrap/configure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
index b05a5cc8b81..1915986be28 100755
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
@@ -340,6 +340,11 @@ o(
     "don't truncate options when printing them in this configure script",
 )
 v("set", None, "set arbitrary key/value pairs in TOML configuration")
+v(
+    "parallel-frontend-threads",
+    "rust.parallel-frontend-threads",
+    "number of parallel threads for rustc compilation",
+)
 
 
 def p(msg):