mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-20 21:53:11 +00:00
f62d8b325c
This reverts commit 4f1a1bbce5
. This was
intended to improve the development speed, but it breaks the build. This
is because even when cross-compiling, the Rust compiler does compile
some code for the host target for code-generation.
12 lines
505 B
TOML
12 lines
505 B
TOML
[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
|