-
-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathCross.toml
More file actions
15 lines (13 loc) · 865 Bytes
/
Copy pathCross.toml
File metadata and controls
15 lines (13 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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"]