Skip to content

Pessimistic logic in detection of MacOS SDKROOT #810

Open
@m-hilgendorf

Description

@m-hilgendorf

This code appears to be overly pessimistic when detecting the SDKROOT environment variable, specifically if the SDK has been relocated to a different directory that does not contain the string "MacOSX."

This causes build failures downstream when a user explicitly sets SDKROOT before invoking a cargo build, and upstream dependencies fail with cryptic xcrun errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-appleApple targets and toolchains

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions