Skip to content
New issue

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

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

Already on GitHub? # to your account

Cargo.toml: Add release profile for smaller size and overflow checks #40

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

pothos
Copy link
Member

@pothos pothos commented Dec 5, 2023

The release binary should be as small as possible without impact. Since this is new code we also want the release binary to still have overflow checks instead of silently eating them.
Add a release profile that strips the debug symbols, uses one codegen unit to get similar gains as thin LTO (which we seem to have cross- compiling problems with), and enable overflow checks.

The release binary should be as small as possible without impact. Since
this is new code we also want the release binary to still have overflow
checks instead of silently eating them.
Add a release profile that strips the debug symbols, uses one codegen
unit to get similar gains as thin LTO (which we seem to have cross-
compiling problems with), and enable overflow checks.
@pothos pothos requested a review from dongsupark December 5, 2023 12:40
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants