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

Optimize release build for size #9

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Optimize release build for size #9

merged 1 commit into from
Jun 19, 2024

Conversation

apiraino
Copy link
Contributor

With these compile flags, running cargo build --release will build the smallest possible binary.

I don't know how the GH CI build this tool for local usage I like saving space when possible (and perf. are not critical).

makes sense cc: @davidtwco ?

Copy link
Member

@davidtwco davidtwco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's too important that this tool is optimised for speed or size, so this seems fine to me.

@davidtwco davidtwco merged commit 95ad6eb into main Jun 19, 2024
4 checks passed
@apiraino apiraino deleted the opt-for-size branch June 21, 2024 14:34
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.

2 participants