Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
change default to fast for everyone but the user profile
  • Loading branch information
pietroalbini committed Mar 21, 2023
commit 01771762cd6369f941d4d4ed04993209f2a85e08
2 changes: 1 addition & 1 deletion config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down
4 changes: 4 additions & 0 deletions src/bootstrap/defaults/config.user.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"