-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCross.toml
More file actions
33 lines (27 loc) · 885 Bytes
/
Cross.toml
File metadata and controls
33 lines (27 loc) · 885 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
# Cross-compilation configuration for GDELT CLI
# Used by `cross` (cargo install cross) for building cross-platform binaries
#
# Reference: https://github.com/cross-rs/cross
[build.env]
passthrough = [
"RUST_BACKTRACE",
"RUST_LOG",
]
# Linux x86_64 - Uses default cross image
[target.x86_64-unknown-linux-gnu]
# Uses cross default image
# Linux ARM64
[target.aarch64-unknown-linux-gnu]
# Uses cross default image
# macOS x86_64 (Intel)
# Note: Cross-compiling for macOS from Linux requires additional setup
# Consider using osxcross or building on actual macOS hardware
[target.x86_64-apple-darwin]
# Requires osxcross toolchain
# See: https://github.com/AlysCai/osxcross
# macOS ARM64 (Apple Silicon)
[target.aarch64-apple-darwin]
# Requires osxcross toolchain with arm64 support
# Windows x86_64
[target.x86_64-pc-windows-gnu]
# Uses cross default image with mingw-w64