Skip to content

Size optimizations: Build with LTO and alloc_system#1526

Merged
alexcrichton merged 2 commits intorust-lang:masterfrom
mbrubeck:lto
Nov 5, 2018
Merged

Size optimizations: Build with LTO and alloc_system#1526
alexcrichton merged 2 commits intorust-lang:masterfrom
mbrubeck:lto

Conversation

@mbrubeck
Copy link
Copy Markdown
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