-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCross.toml
More file actions
30 lines (23 loc) · 815 Bytes
/
Cross.toml
File metadata and controls
30 lines (23 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Cross.toml - Configuration for 'cross' tool
# Install: cargo install cross
# Usage: cross build --release --target <target>
[build.env]
passthrough = [
"RUST_BACKTRACE",
"RUST_LOG",
]
# Linux GNU targets
[target.x86_64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main"
[target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main"
# Linux musl targets (static linking)
[target.x86_64-unknown-linux-musl]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:main"
[target.aarch64-unknown-linux-musl]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-musl:main"
# Windows targets
[target.x86_64-pc-windows-gnu]
image = "ghcr.io/cross-rs/x86_64-pc-windows-gnu:main"
[target.i686-pc-windows-gnu]
image = "ghcr.io/cross-rs/i686-pc-windows-gnu:main"