change default to fast for everyone but the user profile

This commit is contained in:
Pietro Albini 2023-03-21 09:44:42 +01:00
parent 4556037806
commit 01771762cd
No known key found for this signature in database
GPG Key ID: CD76B35F7734769E
3 changed files with 6 additions and 2 deletions

View File

@ -808,4 +808,4 @@ changelog-seen = 2
# compression profile, the longer compression will take.
#
# Available options: fast, balanced, best
#compression-profile = "balanced"
#compression-profile = "fast"

View File

@ -821,7 +821,7 @@ impl Config {
config.deny_warnings = true;
config.bindir = "bin".into();
config.dist_include_mingw_linker = true;
config.dist_compression_profile = "balanced".into();
config.dist_compression_profile = "fast".into();
// set by build.rs
config.build = TargetSelection::from_user(&env!("BUILD_TRIPLE"));

View File

@ -11,3 +11,7 @@ extended = true
[llvm]
# Most users installing from source want to build all parts of the project from source, not just rustc itself.
download-ci-llvm = false
[dist]
# Use better compression when preparing tarballs.
compression-profile = "balanced"