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

Size optimizations: Build with LTO and alloc_system #1526

Merged
merged 2 commits into from
Nov 5, 2018

Conversation

mbrubeck
Copy link
Contributor

This reduces the size of the rustup-init binary by 36% (from 11.8 MB to 7.5 MB) when building in release mode on my Linux system with rustc 1.31.0-nightly (2bd5993ca 2018-10-02).

Fixes #982.

@alexcrichton alexcrichton merged commit 75213a2 into rust-lang:master Nov 5, 2018
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