Strip binaries when building static release

This commit is contained in:
projectmoon 2024-03-22 18:15:56 +01:00
parent 5d87f61d33
commit d219e28280
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
[build] [build]
rustflags = ["-C", "target-feature=+crt-static"] rustflags = ["-C", "target-feature=+crt-static"]
target = "x86_64-unknown-linux-gnu" target = "x86_64-unknown-linux-gnu"
[profile.release]
strip = true