mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-01-30 23:53:54 +00:00
f62d8b325c
This reverts commit 4f1a1bbce56a421afbc8ade3d84530d9f751bf1e. 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
|