diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-03-21 09:44:42 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-03-21 09:44:42 +0100 |
| commit | 01771762cd6369f941d4d4ed04993209f2a85e08 (patch) | |
| tree | 64905c5490ff929b7324bd3272ef58c10ee49e6c | |
| parent | 4556037806cde7018848bb5730a75a665c0924d8 (diff) | |
| download | rust-01771762cd6369f941d4d4ed04993209f2a85e08.tar.gz rust-01771762cd6369f941d4d4ed04993209f2a85e08.zip | |
change default to fast for everyone but the user profile
| -rw-r--r-- | config.example.toml | 2 | ||||
| -rw-r--r-- | src/bootstrap/config.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/defaults/config.user.toml | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/config.example.toml b/config.example.toml index 67916049e4a..bf22895c324 100644 --- a/config.example.toml +++ b/config.example.toml @@ -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" diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index 939853a76d8..66f7a014149 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -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")); diff --git a/src/bootstrap/defaults/config.user.toml b/src/bootstrap/defaults/config.user.toml index 48ae2fe448d..ee271c3fb51 100644 --- a/src/bootstrap/defaults/config.user.toml +++ b/src/bootstrap/defaults/config.user.toml @@ -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" |
