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>
Thu, 12 Oct 2023 05:59:44 +0000 (13:59 +0800)
commitb7a65dba31b296cdb4e3732d4bd31ad5ad5978d8
tree9b78f89198861bb8ef2bdf453316375f39faaaf6
parenta8030021076fac3cf591b47221932005d59d4db9
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>
(cherry picked from commit 855623d8cce4db8655af58bed5d52c64d38608c5)
lang/rust/Makefile