make download-rustc="if-unchanged"
default for library profile
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
298c7462c3
commit
7fd3ce4b4b
2 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,9 @@ bench-stage = 0
|
||||||
[rust]
|
[rust]
|
||||||
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
|
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
|
||||||
incremental = true
|
incremental = true
|
||||||
|
# Download rustc from CI instead of building it from source.
|
||||||
|
# For stage > 1 builds, this cuts compile times significantly when there are no changes on "compiler" tree.
|
||||||
|
download-rustc = "if-unchanged"
|
||||||
# Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown.
|
# Make the compiler and standard library faster to build, at the expense of a ~20% runtime slowdown.
|
||||||
lto = "off"
|
lto = "off"
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
|
# This greatly increases the speed of rebuilds, especially when there are only minor changes. However, it makes the initial build slightly slower.
|
||||||
incremental = true
|
incremental = true
|
||||||
# Download rustc from CI instead of building it from source.
|
# Download rustc from CI instead of building it from source.
|
||||||
# This cuts compile times by almost 60x, but means you can't modify the compiler.
|
# For stage > 1 builds, this cuts compile times significantly when there are no changes on "compiler" tree.
|
||||||
# Using these defaults will download the stage2 compiler (see `download-rustc`
|
# Using these defaults will download the stage2 compiler (see `download-rustc`
|
||||||
# setting) and the stage2 toolchain should therefore be used for these defaults.
|
# setting) and the stage2 toolchain should therefore be used for these defaults.
|
||||||
download-rustc = "if-unchanged"
|
download-rustc = "if-unchanged"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue