forked from swack-tools/oxidex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCross.toml
More file actions
34 lines (27 loc) · 908 Bytes
/
Copy pathCross.toml
File metadata and controls
34 lines (27 loc) · 908 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
31
32
33
34
# Cross-compilation configuration for oxidex
# See: https://github.com/cross-rs/cross
# Linux x86_64 with musl (static linking, no glibc dependency)
[target.x86_64-unknown-linux-musl]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:latest"
# Linux ARM64 with musl (static linking)
[target.aarch64-unknown-linux-musl]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-musl:latest"
# macOS Intel
[target.x86_64-apple-darwin]
image = "ghcr.io/cross-rs/x86_64-apple-darwin:latest"
# macOS Apple Silicon
[target.aarch64-apple-darwin]
image = "ghcr.io/cross-rs/aarch64-apple-darwin:latest"
# Windows x86_64 with GNU toolchain
[target.x86_64-pc-windows-gnu]
image = "ghcr.io/cross-rs/x86_64-pc-windows-gnu:latest"
# Build settings
[build]
# Use pre-built cross Docker images
pre-build = []
# Environment variables for all targets
[build.env]
passthrough = [
"CARGO_TERM_COLOR",
"RUST_BACKTRACE",
]