cc-rs
cc-rs copied to clipboard
Pessimistic logic in detection of MacOS SDKROOT
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.