summaryrefslogtreecommitdiffstats
path: root/build/macosx/xcrun
blob: 52edb12d7bfcac986618406cad0d698f12de73c7 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

case "$*" in
"--show-sdk-path --sdk iphoneos"|"--show-sdk-path -sdk iphoneos"|"--show-sdk-path --sdk iphonesimulator"|"--show-sdk-path -sdk iphonesimulator")
    ;;
*)
    echo We only expect this to be executed by third_party/rust/cc/src/lib.rs or rustc when targetting iOS >&2
    exit 1
esac
echo $IPHONEOS_SDK_DIR