forked from ipvm-wg/homestar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCross.toml
30 lines (24 loc) · 773 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
[build.env]
passthrough = [
"CARGO_INCREMENTAL",
"RUST_BACKTRACE",
"CARGO_TERM_COLOR",
"RUSTFLAGS",
]
# When running `cross` with nix, do this within `nix-shell -p gcc rustup`.
#
# Then, run
#
# `cross build -p homestar-runtime --target x86_64-unknown-linux-musl`
# or
# `cross build -p homestar-runtime --target aarch64-unknown-linux-musl`
[target.x86_64-unknown-linux-musl]
image = "burntsushi/cross:x86_64-unknown-linux-musl"
[target.aarch64-unknown-linux-gnu]
image = "burntsushi/cross:aarch64-unknown-linux-gnu"
[target.x86_64-apple-darwin]
image = "freeznet/x86_64-apple-darwin-cross:11.3"
[target.aarch64-apple-darwin]
image = "freeznet/aarch64-apple-darwin-cross:11.3"
[target.x86_64-pc-windows-gnu]
image = "rustembedded/cross:x86_64-pc-windows-gnu"