-
Notifications
You must be signed in to change notification settings - Fork 60
Description
It would be helpful to try to reduce the binaries size produced by Rust for each platform. In the CI there are still tasks that could allow these improvements, like the package_windows_binary one, that could be used to install additional software in a simpler way
Useful links for Linux:
https://github.com/johnthagen/min-sized-rust
Useful links for Windows
https://www.codeslow.com/2019/12/tiny-windows-executable-in-rust.html
https://github.com/mcountryman/min-sized-rust-windows
Another useful alternative, both for Linux and Windows, could be splitting debug symbols in separate files, but currently this possibility is blocked in rust-lang/rust#72110
Alternative that makes use of external binaries both for Linux and Windows: http://www.sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html