# Cargo configuration for cross-platform builds # # This ensures the BEX engine builds correctly across different targets. [target.x86_64-unknown-linux-gnu] # Use system linker — compatible with most Linux distros rustflags = ["-C", "link-arg=-Wl,--as-needed"] [target.x86_64-unknown-linux-musl] # Fully static build — no GLIBC dependency rustflags = ["-C", "target-feature=+crt-static"] [target.wasm32-wasip1] # WASM plugin builds runner = "wasmtime --dir ." [build] # Default target for `cargo build` (override with --target) # Uncomment for musl static builds: # target = "x86_64-unknown-linux-musl" [net] # Use git CLI for better performance git-fetch-with-cli = true [registries.crates-io] protocol = "sparse"