Support cargo-apple-runner (#1731)

This commit is contained in:
Mads Marquart
2026-05-04 14:05:27 +02:00
committed by GitHub
parent 8966c78b02
commit ff1c16dbcb
5 changed files with 46 additions and 4 deletions

View File

@@ -150,6 +150,10 @@ for manifest in tools/codegen/base/*.json; do
fi
case "${host_os}" in
linux*)
# cargo-apple-runner is not supported on Linux
if [[ "${tool_name}" == "cargo-apple-runner" ]]; then
continue
fi
if [[ "${host_arch}" != "x86_64" ]] && [[ "$(jq -r --arg p "${host_arch}_${host_os}_gnu" '.platform[$p]' "${manifest}")" == "null" ]] && [[ "$(jq -r --arg p "${host_arch}_${host_os}_musl" '.platform[$p]' "${manifest}")" == "null" ]]; then
continue
fi