Skip to content

Commit 0177176

Browse files
committed
change default to fast for everyone but the user profile
1 parent 4556037 commit 0177176

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

config.example.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,4 +808,4 @@ changelog-seen = 2
808808
# compression profile, the longer compression will take.
809809
#
810810
# Available options: fast, balanced, best
811-
#compression-profile = "balanced"
811+
#compression-profile = "fast"

src/bootstrap/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ impl Config {
821821
config.deny_warnings = true;
822822
config.bindir = "bin".into();
823823
config.dist_include_mingw_linker = true;
824-
config.dist_compression_profile = "balanced".into();
824+
config.dist_compression_profile = "fast".into();
825825

826826
// set by build.rs
827827
config.build = TargetSelection::from_user(&env!("BUILD_TRIPLE"));

src/bootstrap/defaults/config.user.toml

+4
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ extended = true
1111
[llvm]
1212
# Most users installing from source want to build all parts of the project from source, not just rustc itself.
1313
download-ci-llvm = false
14+
15+
[dist]
16+
# Use better compression when preparing tarballs.
17+
compression-profile = "balanced"

0 commit comments

Comments
 (0)