-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cross.toml
38 lines (27 loc) · 906 Bytes
/
Cross.toml
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
35
36
37
38
# Cross.toml
# Global [build] settings that apply to all targets unless overridden
[build]
# Use Zig as a cross-compiler (optional)
zig = "2.17" # Specify the Zig version you prefer
# Optional: Disable building Rust's standard library if not needed
# build-std = false
# Optional: Enable or disable Xargo
# xargo = true
# Optional: Set a default target
# default-target = "aarch64-unknown-linux-musl"
# Global environment variables and volumes
[build.env]
volumes = []
passthrough = ["CARGO_*", "RUST_*", "OPENSSL_DIR"]
# target.x86_64-unknown-linux-gnu
[target.x86_64-unknown-linux-gnu]
[target.x86_64-unknown-linux-gnu.env]
volumes = []
# target.aarch64-unknown-linux-gnu
[target.aarch64-unknown-linux-gnu]
[target.aarch64-unknown-linux-gnu.env]
volumes = []
# target.armv7-unknown-linux-gnueabihf
[target.armv7-unknown-linux-gnueabihf]
[target.armv7-unknown-linux-gnueabihf.env]
volumes = []