Bug 1966558 - Adjust our fake xcrun to changes in invocation from rustc. r=firefox-build-system-reviewers,ahochheiden

Differential Revision: https://phabricator.services.mozilla.com/D249509
This commit is contained in:
Mike Hommey
2025-05-15 22:49:05 +00:00
committed by mh@glandium.org
parent 35b12b9d57
commit 439a04f554

View File

@@ -1,7 +1,7 @@
#!/bin/sh
case "$*" in
"--show-sdk-path --sdk iphoneos"|"--show-sdk-path -sdk iphoneos"|"--show-sdk-path --sdk iphonesimulator"|"--show-sdk-path -sdk iphonesimulator")
"--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")
;;
*)
echo We only expect this to be executed by third_party/rust/cc/src/lib.rs or rustc when targetting iOS >&2