strip by ourselves

This commit is contained in:
5ec1cff
2023-12-08 19:46:40 +08:00
parent bcb65c4bd9
commit b34015b5f0
3 changed files with 34 additions and 5 deletions

View File

@@ -24,13 +24,11 @@ rustix = { version = "0.38", features = [ "fs", "process", "mount", "net", "thre
tokio = { version = "1.28", features = ["full"] }
[profile.dev]
# strip = true
# split-debuginfo = "packed"
strip = false
panic = "abort"
[profile.release]
strip = true
split-debuginfo = "packed"
strip = false
panic = "abort"
opt-level = "z"
lto = true