Skip to content

support LTO against libraries built with codegen-units > 1 #17358

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

Merged
merged 1 commit into from
Sep 20, 2014
Merged

support LTO against libraries built with codegen-units > 1 #17358

merged 1 commit into from
Sep 20, 2014

Conversation

spernsteiner
Copy link
Contributor

Building a library with codegen-units > 1 will place several crate.0.bytecode.deflate files in the rlib. Linking with LTO loads all the crate.0.bytecode.deflate files it can find.

r? @alexcrichton

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 19, 2014
@bors bors merged commit ed476b0 into rust-lang:master Sep 20, 2014
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