Cross.toml
Rama main · réplica de lectura del repositorio original.
# cross-rs build configuration.
#
# The official `cross` musl images are minimal and don't ship cmake/perl, which
# `aws-lc-sys` (rustls' crypto provider, pulled transitively via reqwest) needs
# to build for the musl targets. Install them before the build.
#
# DEBIAN_FRONTEND=noninteractive is REQUIRED: `cmake` pulls in `tzdata`, whose
# postinst otherwise blocks on an interactive timezone prompt with no stdin —
# hanging the job forever (seen on the first v0.18.0 release run).
[target.x86_64-unknown-linux-musl]
pre-build = ["DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends cmake perl"]
[target.aarch64-unknown-linux-musl]
pre-build = ["DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends cmake perl"]