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

Add Rust language

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-09-29 21:32:42 +02:00
parent 4296ac92e9
commit d07ccb47ff
7 changed files with 350 additions and 0 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