Closed
Description
I noticed that if ./x.py
is run from a git checkout, the build script downloads the rust-std and rustc, and cargo stage0 archives from static.rust-lang.org in the tar.gz format. Those are a lot bigger in size than the also delivered tar.xz files, usually adds some 30% in download time and consumed bandwith. Do you think you could possibly change the script to use tar.xz
in the future?
here's a snipet from my log:
downloading https://static.rust-lang.org/dist/2019-09-26/rust-std-1.38.0-x86_64-unknown-linux-gnu.tar.gz.sha256
running: curl -# -y 30 -Y 10 --connect-timeout 30 --retry 3 -Sf -o /var/tmp/portage/dev-lang/rust-999/temp/tmprecglk92.sha256 https://static.rust-lang.org/dist/2019-09-26/rust-std-1.38.0-x86_64-unknown-linux-gnu.tar.gz.sha256
################################################################################### 100,0%
downloading https://static.rust-lang.org/dist/2019-09-26/rust-std-1.38.0-x86_64-unknown-linux-gnu.tar.gz
running: curl -# -y 30 -Y 10 --connect-timeout 30 --retry 3 -Sf -o /var/tmp/portage/dev-lang/rust-999/temp/tmp_2fjvg1r https://static.rust-lang.org/dist/2019-09-26/rust-std-1.38.0-x86_64-unknown-linux-gnu.tar.gz
################################################################################### 100,0%
verifying /var/tmp/portage/dev-lang/rust-999/temp/tmp_2fjvg1r