Cargo.toml: turn off link-time optimization

This commit is contained in:
Astro 2020-02-03 00:48:48 +01:00
parent fc91a0427b
commit 02c9c4d2dd
1 changed files with 3 additions and 1 deletions

View File

@ -12,5 +12,7 @@ lto = false
[profile.release]
panic = "abort"
debug = true
lto = true # Link-Time Optimization
# Link-Time Optimization:
# turned off for producing unusable debug symbols.
lto = false
opt-level = 'z' # Optimize for size.