xcrun (402B)
1 #!/bin/sh 2 3 case "$*" in 4 "--sdk iphoneos --show-sdk-path"|"--show-sdk-path --sdk iphoneos"|"--show-sdk-path -sdk iphoneos"|"--sdk iphonesimulator --show-sdk-path"|"--show-sdk-path --sdk iphonesimulator"|"--show-sdk-path -sdk iphonesimulator") 5 ;; 6 *) 7 echo We only expect this to be executed by third_party/rust/cc/src/lib.rs or rustc when targetting iOS >&2 8 exit 1 9 esac 10 echo $IPHONEOS_SDK_DIR