Compare commits

...

1 Commits

Author SHA1 Message Date
Wang Han
058ba4f150 Don't immediately abort on panic
This will change any panic into signle brk instruction and leave no message for debug.
2026-03-08 11:17:46 +08:00

View File

@@ -61,12 +61,12 @@ unwrap_used = "deny"
[profile.dev]
opt-level = "z"
lto = "thin"
panic = "immediate-abort"
panic = "abort"
debug = "none"
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "immediate-abort"
panic = "abort"
strip = true