1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Downgrade Rust for kernel 5.4

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-01-20 11:14:50 +01:00
parent 1013739703
commit aa3db5a62e
10 changed files with 130 additions and 305 deletions

8
rust/files/cargo-config Normal file
View file

@ -0,0 +1,8 @@
[target.@RUSTC_TARGET_ARCH@]
linker = "@TARGET_CC_NOCACHE@"
rustflags = ["-Ctarget-feature=-crt-static", "-Clink-args=@RUSTC_LDFLAGS@"]
[profile.stripped]
inherits = "release"
opt-level = "s"
strip = true