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

linker: Report linker flavors incompatible with the current target #110807

Merged
merged 4 commits into from
Jun 1, 2023

Commits on May 29, 2023

  1. rustc_target: Refactor linker flavor inference

    Go through an intermediate pair of `cc`and `lld` hints instead of mapping CLI options to `LinkerFlavor` directly, and use the target's default linker flavor as a reference.
    petrochenkov committed May 29, 2023
    Configuration menu
    Copy the full SHA
    2013ccc View commit details
    Browse the repository at this point in the history
  2. linker: Report linker flavors incompatible with the current target

    Previously they would be reported as link time errors about unknown linker options
    petrochenkov committed May 29, 2023
    Configuration menu
    Copy the full SHA
    b0ce416 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23f177d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f7328d View commit details
    Browse the repository at this point in the history