We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29b7749 commit 3c40444Copy full SHA for 3c40444
Cross.toml
@@ -1,8 +1,17 @@
1
-[target.x86_64-unknown-linux-musl]
2
-image = "clux/muslrust:stable"
+# N.B. The following dependencies are required for all targets to be built: 'qemu' and 'qemu-user-static'
3
4
-[target.x86_64-unknown-linux-gnu]
+[build]
5
pre-build = [
6
"dpkg --add-architecture $CROSS_DEB_ARCH",
7
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
8
]
+
9
+[target.x86_64-unknown-linux-musl]
10
+image.name = "alpine:edge"
11
+image.toolchain = ["x86_64-unknown-linux-musl"]
12
+pre-build = ["apk add --no-cache build-base openssl-dev"]
13
14
+[target.aarch64-unknown-linux-musl]
15
16
+image.toolchain = ["aarch64-unknown-linux-musl"]
17
0 commit comments