Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

sunfishcode
Copy link
Owner

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.

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.

[min-sized-rust]: https://github.com/johnthagen/min-sized-rust
@sunfishcode sunfishcode merged commit 1a3b9df into main Oct 9, 2023
5 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/min-sized-rust branch October 9, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant