# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) Jarkko Sakkinen 2026
#
# Packaging targets for `cross` (Docker). Used by scripts/package.sh.
#
# Linux x64/arm64 (musl) and Windows x64 (GNU) use official prebuilt cross
# images. The MSVC and Apple SDK images below cannot be redistributed by
# cross-rs; build them locally from cross-rs/cross-toolchains.
[]
= [
"CARGO_BUILD_JOBS",
"CROSS_TARGET",
"RUSTFLAGS",
]
# Build from cross-rs/cross-toolchains Dockerfile.aarch64-pc-windows-msvc-cross
# (uses xwin to fetch the Windows SDK):
# docker build -f Dockerfile.aarch64-pc-windows-msvc-cross \
# -t ghcr.io/cross-rs/aarch64-pc-windows-msvc-cross:local .
[]
= "ghcr.io/cross-rs/aarch64-pc-windows-msvc-cross:local"
# Shared osxcross image; CROSS_TARGET selects the Apple toolchain.
# Darwin hosts build these targets natively, so the image is Linux-only.
[]
= "ghcr.io/cross-rs/aarch64-apple-darwin-cross:local"
[]
= "ghcr.io/cross-rs/aarch64-apple-darwin-cross:local"