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:
parent
1013739703
commit
aa3db5a62e
10 changed files with 130 additions and 305 deletions
8
rust/files/cargo-config
Normal file
8
rust/files/cargo-config
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue