cc-rs icon indicating copy to clipboard operation
cc-rs copied to clipboard

Pessimistic logic in detection of MacOS SDKROOT

Open m-hilgendorf opened this issue 1 year ago • 0 comments

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.

m-hilgendorf avatar May 26 '23 17:05 m-hilgendorf