Skip to content

Remove -Zemit-thin-lto flag #152490

Description

@bjorn3

As far as I can tell it was introduced in #98162 to allow fat LTO with -Clinker-plugin-lto. Since #136840 we already automatically disable ThinLTO summary generation when -Clinker-plugin-lto -Clto=fat is used, so I think we can remove it. Seahorn is the only user I found on github. I asked in seahorn/verify-rust#6 to confirm my understanding that -Zemit-thin-lto is no longer necessary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LTOArea: Link-time optimization (LTO)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions