rust: Improve Host/Install speed
authorJeffery To <jeffery.to@gmail.com>
Wed, 11 Oct 2023 04:56:20 +0000 (12:56 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 11 Oct 2023 07:50:22 +0000 (15:50 +0800)
commit855623d8cce4db8655af58bed5d52c64d38608c5
tree95a9d0cbebca919d7c22b8a64106448cbb7f32b1
parent35768bf31e5867046874dc6fd0374ff8fe575da2
rust: Improve Host/Install speed

* Compress dist archives with gzip instead of xz; gzip is faster to
  compress and decompress

* Use a for loop instead of calling find to extract archives

* Use libdeflate's gzip to decompress instead of gzip

* Limit search for install scripts to top level of extracted archives

This also runs the install scripts with bash instead of sh, in
accordance with the shebang lines inside the scripts.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/rust/Makefile