You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the pkg build manually invokes strip on built binaries. However the pkg build uses latest stable Rust and Rust 1.58.0 released two days from now will bring with it the new support for specifying binary stripping in the [profile.release] section of Cargo.toml. Using this will be less custom and hopefully will also be supported by cargo cross cross-compiled builds which otherwise require manually specifying the right strip tool to use.
The text was updated successfully, but these errors were encountered:
Update: In a quick local test using cross build the resulting binary was significantly smaller when built with cross +nightly build and the following addition to Cargo.toml (26233520 bytes for krill vs 34970356 bytes):
Currently the
pkg
build manually invokesstrip
on built binaries. However thepkg
build uses latest stable Rust and Rust 1.58.0 released two days from now will bring with it the new support for specifying binary stripping in the[profile.release]
section ofCargo.toml
. Using this will be less custom and hopefully will also be supported bycargo cross
cross-compiled builds which otherwise require manually specifying the right strip tool to use.The text was updated successfully, but these errors were encountered: