mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-26 01:34:44 -07:00
minimized the binary size
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
[target.armv7-unknown-linux-gnueabihf]
|
||||
linker = "arm-linux-gnueabihf-gcc"
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
|
||||
# optimizations to reduce the binary size
|
||||
[profile.release]
|
||||
strip = true
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
|
||||
Reference in New Issue
Block a user