-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathCross.toml
More file actions
18 lines (14 loc) · 863 Bytes
/
Cross.toml
File metadata and controls
18 lines (14 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[build]
default-target = "x86_64-unknown-linux-musl"
[target.aarch64-unknown-linux-musl.dockerfile]
file = "cross/Dockerfile.musl"
build-args = { BASE_IMAGE = "ghcr.io/cross-rs/aarch64-unknown-linux-musl:main", CROSS_CMAKE_SYSTEM_PROCESSOR = "aarch64", CROSS_SYSROOT = "/usr/local/aarch64-linux-musl" }
[target.x86_64-unknown-linux-musl.dockerfile]
file = "cross/Dockerfile.musl"
build-args = { BASE_IMAGE = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:main", CROSS_CMAKE_SYSTEM_PROCESSOR = "x86_64", CROSS_SYSROOT = "/usr/local/x86_64-linux-musl" }
[target.aarch64-unknown-linux-gnu.dockerfile]
file = "cross/Dockerfile.gnu"
build-args = { BASE_IMAGE = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main" }
[target.x86_64-unknown-linux-gnu.dockerfile]
file = "cross/Dockerfile.gnu"
build-args = { BASE_IMAGE = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main" }