about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2025-08-11 20:46:31 +0200
committerMads Marquart <mads@marquart.dk>2025-08-11 23:31:07 +0200
commit1d1316240f0fa60b042bcead8ab29609c0090489 (patch)
treebe75076f6ee78a861c40128e760fb36b5033d791 /src
parentf4a911031daf366aa621871a065390688efbaf5d (diff)
downloadrust-1d1316240f0fa60b042bcead8ab29609c0090489.tar.gz
rust-1d1316240f0fa60b042bcead8ab29609c0090489.zip
Always attempt to invoke xcrun to get the Apple SDK
The exact reasoning why we do not always pass the SDK root when linking
on macOS eludes me, but I suspect it's because we want to support
compiler drivers which do not support the `-isysroot` option.

Since we now pass the SDK root via the environment variable SDKROOT,
compiler drivers that don't support it can just ignore it.

Similarly, since we only warn when xcrun fails, users that expect their
compiler driver to provide the SDK location can do so now.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions