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

Minimize the release binary size #200

Open
majorz opened this issue Apr 2, 2018 · 0 comments
Open

Minimize the release binary size #200

majorz opened this issue Apr 2, 2018 · 0 comments
Assignees

Comments

@majorz
Copy link
Collaborator

majorz commented Apr 2, 2018

Rust currently produces relatively large binaries by default compared to C. There are a couple of techniques we can use to minimize the release binary size. Example article here:
https://jamesmunns.com/update/2018/04/01/tinyrocket.html

@majorz majorz self-assigned this Apr 2, 2018
otavio added a commit to OSSystems/resin-wifi-connect that referenced this issue Jan 5, 2019
This enables the settings for release build to reduce the binary
size. The size difference is significant, from 3.7M down to 2.5M.

Fixes: balena-os#200.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant