-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust platform size (round 2) #65296
Comments
The installer's origin states it was created on |
Hi, using the master toolchain https://github.com/kennytm/rustup-toolchain-install-master I can confirm that it downloads |
To give a table like #61978 (comment) :
Created by the commands (with some manual formatting afterwards): export TOOLS="rustc-nightly-x86_64-unknown-linux-gnu.tar.gz rust-std-nightly-x86_64-unknown-linux-gnu.tar.gz cargo-nightly-x86_64-unknown-linux-gnu.tar.gz rustc-nightly-x86_64-pc-windows-msvc.tar.gz rust-std-nightly-x86_64-pc-windows-msvc.tar.gz cargo-nightly-x86_64-pc-windows-msvc.tar.gz"
for TOOL in $TOOLS; do printf "| $TOOL |"; for COMMIT in 898f36c83cc28d7921a1d7b3605323dc5cfcf533 000d90b11f7be70ffb7812680f7abc6deb52ec88; do curl -I -s https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rustc-builds/${COMMIT}/${TOOL} | rg Content-Length | tr -d '\r' | tr -d '\n' | sed 's/.*: //;s/\(.*\)/ \1 |/'; done; echo ; done So we had some really nice reductions thanks to #64823, even if you compare with the state before #59800. |
Closing as per investigation above. |
@nagisa rust has still the largest package of the list in the original issue #61978 (comment) . The regression (that appeared after that original bug was filed) is fixed now, but it would still be cool to reduce the platform size even further. E.g. #65251 will mean another improvement. In the 1.38 package, |
I am going to close this as I feel it has been fixed in spirit. Current size is |
To give a table for the artifact size impact of #65251 and #65501:
So it seems that #65501 was the actual PR that removed the extra LLVM copy. Edit: script used: export TOOLS="rustc-nightly-x86_64-unknown-linux-gnu.tar.gz rust-std-nightly-x86_64-unknown-linux-gnu.tar.gz cargo-nightly-x86_64-unknown-linux-gnu.tar.gz rustc-nightly-x86_64-pc-windows-msvc.tar.gz rust-std-nightly-x86_64-pc-windows-msvc.tar.gz cargo-nightly-x86_64-pc-windows-msvc.tar.gz"
for TOOL in $TOOLS; do printf "| $TOOL |"; for COMMIT in 7e498005a12548a8fd396312affde05c4d3ca085 a16dca337de610986252bb800953e57bf395863f 6576f4be5af31a5e61dfc0cf50b7130e6c6dfb35 50ffa79589600f515ff2710830c23cd2dce7cb76; do curl -I -s https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rustc-builds/${COMMIT}/${TOOL} | rg Content-Length | tr -d '\r' | tr -d '\n' | sed 's/.*: //;s/\(.*\)/ \1 |/'; done; echo ; done |
Reopening this issue as its not fixed. On my last post in July the size was
294 MB:
#61978 (comment)
comically, its actually larger now at 347 MB:
https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.msi
The text was updated successfully, but these errors were encountered: