Skip to content

Commit d3a623d

Browse files
authored
Rollup merge of rust-lang#64615 - alexcrichton:smaller-exe, r=Mark-Simulacrum
rustbuild: Turn down compression on exe installers The Windows dist builders are the slowest builders right now, and the distribution phase of them is enormously slow clocking in at around 20 minutes to build all the related installers. This commit starts to optimize these by turning down the compression level in the `exe` installers. These aren't super heavily used so there's no great need for them to be so ultra-compressed, so let's dial back the compression parameters to get closer to the rest of our xz archives. This brings the installer in line with the gz tarball installer locally, and also brings the compression settings on par with the rest of our xz installers.
2 parents 5edb619 + 8112f71 commit d3a623d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/etc/installer/exe/rust.iss

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ SourceDir=.\
2525
OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
2626
DefaultDirName={sd}\Rust
2727

28-
Compression=lzma2/ultra
29-
InternalCompressLevel=ultra
30-
SolidCompression=true
28+
Compression=lzma2/normal
29+
InternalCompressLevel=normal
30+
SolidCompression=no
3131

3232
ChangesEnvironment=true
3333
ChangesAssociations=no

0 commit comments

Comments
 (0)