I gave up and just put it in a Docker image, it's not as important as the beacons being statically compiled
14 lines
378 B
TOML
14 lines
378 B
TOML
[target.x86_64-unknown-linux-musl]
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-Ctarget-feature=+crt-static", "--cfg=has_std", "-C", "link-arg=-fuse-ld=mold"]
|
|
|
|
[unstable]
|
|
build-std = ["std", "panic_abort", "core", "alloc"]
|
|
build-std-features = ["panic_immediate_abort"]
|
|
|
|
#[build]
|
|
#rustflags = ["--cfg=has_std"]
|