Description
Unless I'm misunderstanding something, currently one must use gz
or xz
as compression formats. Because of this, during the building of rust itself, the fabricate
process uses 100% CPU (aka 1 core only) and thus wastes a lot of time trying to compress to one or both of the two formats (specified in config.toml)
On systems where the filesystem is btrfs and using zstd compression already, some may wish to use no compression at all, thus just .tar
(instead of .tar.gz
or .tar.xz
would be preferred). Maybe such people don't care about any extra used space(presumably filesystem compression if poorer than .gz or .xz ?), or they do care about how much time rust compilation takes (it would take less time this way with avoiding doing any compression especially since it's using only one CPU core).
Either way, I'd like to suggest supporting no compression at all - which would probably mean simply just .tar
In the past I used to hack a patch to do this (.tar
instead of .tar.gz
) and it worked just fine, but since v1.48.0 rust's changed that code a bit in 1.52.0 and I'm unable to understand how to change the patch to apply it, so far.