Skip to content

Commit db12ccd

Browse files
committed
disable precompiled rustc for "library" and "compiler" profiles
There is an ongoing discussion about this on Zulip and for now we want to keep these disabled. Zulip thread: https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/.60download-rustc.20.3D.20'if-unchanged'.60.20for.20.60compiler.60.20profile.3F Signed-off-by: onur-ozkan <[email protected]>
1 parent 508e81f commit db12ccd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: src/bootstrap/defaults/config.compiler.toml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ lto = "off"
1919
# Forces frame pointers to be used with `-Cforce-frame-pointers`.
2020
# This can be helpful for profiling at a small performance cost.
2121
frame-pointers = true
22+
download-rustc = false
2223

2324
[llvm]
2425
# Having this set to true disrupts compiler development workflows for people who use `llvm.download-ci-llvm = true`

Diff for: src/bootstrap/defaults/config.library.toml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ bench-stage = 0
1010
incremental = true
1111
# Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown.
1212
lto = "off"
13+
download-rustc = false
1314

1415
[llvm]
1516
# Will download LLVM from CI if available on your platform.

0 commit comments

Comments
 (0)