4 ms·
I'll bet there are some Rust build options they can tweak to get it way down...
by westoncb 5y ago
I'll bet there are some Rust build options they can tweak to get it way down...
- bogeholm 5y agoHere are a couple of options if anyone is curious: https://github.com/johnthagen/min-sized-rust https://github.com/johnthagen/min-sized-rust
- pferde 5y agoFWIW, when rebuilding jless with some of the cargo tweaks mentioned here, as well as in https://www.collabora.com/news-and-blog/blog/2020/04/28/reducing-size-rust-gstreamer-plugin/ https://www.collabora.com/news-and-blog/blog/2020/04/28/redu..., I managed to get the binary size down to 1.75MB. Better, but still huge. Note that I did not use tweaks which require rust nightly, as I did not feel like installing it.
- afarrell 5y agoI'll bet that a good project for a different person who has idly thought "y'know, I'd like an excuse to learn rust..." could be doing that.