-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCross.toml
More file actions
26 lines (21 loc) · 818 Bytes
/
Cross.toml
File metadata and controls
26 lines (21 loc) · 818 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
# Cross-compilation configuration for KalamDB
# Required for building Linux binaries on macOS
# See: https://github.com/cross-rs/cross
[build.env]
passthrough = [
"RUST_BACKTRACE",
"RUST_LOG",
"SKIP_UI_BUILD",
]
# Use custom Dockerfile for x86_64 Linux with proper LLVM for RocksDB
[target.x86_64-unknown-linux-gnu]
dockerfile = "./tools/Dockerfile.cross-x86_64"
# Use custom Dockerfile for aarch64 Linux with proper LLVM for RocksDB
[target.aarch64-unknown-linux-gnu]
dockerfile = "./tools/Dockerfile.cross-aarch64"
# Use custom Dockerfile for Windows with proper LLVM for RocksDB bindgen
[target.x86_64-pc-windows-gnu]
dockerfile = "./tools/Dockerfile.cross-windows"
# Static linking to avoid libstdc++-6.dll and libgcc_s_seh-1.dll dependencies
[target.x86_64-pc-windows-gnu.env]
passthrough = []