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
Does cross compiling in some way reduce the final binary size? While a great feature, my goal is to keep min-sized-rust focused exclusively on binary size reduction techniques rather than trying to mention all possible Rust features.
AFAIK, compiling for aarch64-apple-darwin (M1 Mac) binaries are slightly smaller, but not by a substantial amount. Just wanted to add this addendum for people looking to cross compile while also running your provided flags.
It is possible to cross compile w/ the
+nightly
targets.ex.
Will work, this can be added as an addendum to the
Optimize libstd
andRemove Panic String
sections.Discovered from: rust-lang/wg-cargo-std-aware#76
The text was updated successfully, but these errors were encountered: