mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-26 16:21:07 +00:00
66d0ec2f6f
See also: https://corrode.dev/blog/tips-for-faster-rust-compile-times/#avoid-procedural-macro-crates.
16 lines
602 B
TOML
16 lines
602 B
TOML
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
|
|
[target.x86_64-unknown-linux-musl]
|
|
rustflags = ["-C", "target-feature=+crt-static", "-C", "link-arg=-s", "-C", "link-arg=-lc", "-C", "link-arg=-lgcc"]
|
|
|
|
[target.aarch64-unknown-linux-musl]
|
|
rustflags = ["-C", "target-feature=+crt-static", "-C", "link-arg=-s", "-C", "link-arg=-lc", "-C", "link-arg=-lgcc"]
|
|
|
|
[target.armv7-unknown-linux-musleabihf]
|
|
rustflags = ["-C", "target-feature=+crt-static", "-C", "link-arg=-s", "-C", "link-arg=-lc", "-C", "link-arg=-lgcc"]
|
|
|
|
[profile.dev.build-override]
|
|
opt-level = 3
|