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

rustc: Implement incremental "fat" LTO #58378

Merged
merged 1 commit into from
Feb 14, 2019

Commits on Feb 12, 2019

  1. rustc: Implement incremental "fat" LTO

    Currently the compiler will produce an error if both incremental
    compilation and full fat LTO is requested. With recent changes and the
    advent of incremental ThinLTO, however, all the hard work is already
    done for us and it's actually not too bad to remove this error!
    
    This commit updates the codegen backend to allow incremental full fat
    LTO. The semantics are that the input modules to LTO are all produce
    incrementally, but the final LTO step is always done unconditionally
    regardless of whether the inputs changed or not. The only real
    incremental win we could have here is if zero of the input modules
    changed, but that's so rare it's unlikely to be worthwhile to implement
    such a code path.
    
    cc rust-lang#57968
    cc rust-lang/cargo#6643
    alexcrichton committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    e983b4f View commit details
    Browse the repository at this point in the history