4 ms·
Rust binaries are by default nowhere close to 500MB. If they are not small enough for you, you can try https://github.com/johnthagen/min-sized-rust https://gith
by afdbcreid 3y ago
Rust binaries are by default nowhere close to 500MB. If they are not small enough for you, you can try https://github.com/johnthagen/min-sized-rust https://github.com/johnthagen/min-sized-rust. By avoiding the formatting machinery and using `panic_immediate_abort` you can get about the size of C binaries.
- 1vuio0pswjnm7 3y agoComment is based on the rust-std package I'm currently seeing in VoidLinux. It is over 500MB. 3 packages will be downloaded: 3 packages will be installed: libexecinfo-1.1_3 libexecinfo-devel-1.1_3 rust-std-1.73.0_1 Size to download: 136MB Size required on disk: 509MB Space available on disk: never enough! Cheacking Debian and NetBSD it seems like the Rust standard library is smaller, much less than 500MB. The simple question is how much space is required for an installation of the Rust compiler. On VoidLinux, it's significantly more space than for a GCC installation. 509MB is just too much for my tastes.