mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-03-12 21:23:02 -07:00
Don't immediately abort on panic
This will change any panic into signle brk instruction and leave no message for debug.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user