aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/format.cpp
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-08-06 11:36:40 +0200
committerJakub Konka <kubkon@jakubkonka.com>2021-08-10 13:41:10 +0200
commite9bee08f8869bc97312f37a76cb00b98b8c6ee3d (patch)
treeb6d4b2e6153740ccb7f0503d13c7613a5a45f30b /lib/libcxx/src/format.cpp
parent2371a63bd46cb1af7e3b9857136ea7677f6abdcc (diff)
downloadzig-e9bee08f8869bc97312f37a76cb00b98b8c6ee3d.tar.gz
zig-e9bee08f8869bc97312f37a76cb00b98b8c6ee3d.zip
Try audodetecting sysroot when building Darwin on Darwin
This is now no longer limited to targeting macOS natively but also tries to detect the sysroot when targeting different Apple platforms from macOS; for instance targeting iPhone Simulator from macOS. In this case, Zig will try detecting the SDK path by invoking `xcrun --sdk iphonesimulator --show-sdk-path`, and if the command fails because the SDK doesn't exist (case when having CLT installed only) or not having either Xcode or CLT installed, we simply return null signaling that the user has to provide the sysroot themselves.
Diffstat (limited to 'lib/libcxx/src/format.cpp')
0 files changed, 0 insertions, 0 deletions