Skip to content

Commit 0dde8fd

Browse files
committed
Switch download-rustc back on by default for profile = library
This was turned off because `x test --set rust.download-rustc=true --stage=1 library/std` has been broken for years. The workaround is simple and it's to remove `test-stage = 1` from the `library` profile defaults.
1 parent 01005bc commit 0dde8fd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/bootstrap/defaults/bootstrap.library.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
# These defaults are meant for contributors to the standard library and documentation.
2-
[build]
3-
bench-stage = 1
4-
test-stage = 1
5-
62
[rust]
73
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
84
incremental = true
@@ -12,8 +8,7 @@ lto = "off"
128
#
139
# If compiler-affecting directories are not modified, use precompiled rustc to speed up
1410
# library development by skipping compiler builds.
15-
# FIXME: download-rustc is currently broken: https://github.com/rust-lang/rust/issues/142505
16-
download-rustc = false
11+
download-rustc = "if-unchanged"
1712

1813
[llvm]
1914
# Will download LLVM from CI if available on your platform.

0 commit comments

Comments
 (0)