sunfishcode / eyra

Rust programs written entirely in Rust
Other
765 stars 12 forks source link

Add an example showing Eyra's small code size #13

Closed sunfishcode closed 1 year ago

sunfishcode commented 1 year ago

Add an example showing the use of min-sized-rust techiques to reduce code size.

As of this writing, using the same optimizations without Eyra, using x86_64-unknown-linux-musl, produces a hello world binary in 50776 bytes, while using them with Eyra uses just 37912 bytes.