Update Cargo.toml

This commit is contained in:
Songday 2021-11-15 10:03:03 +08:00 committed by GitHub
parent 1f05e00522
commit 5db8910bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ panic = 'abort'
# optimization over all codebase ( better optimization, slower build )
codegen-units = 1
# optimization for size ( more aggressive )
opt-level = 'z'
opt-level = 3
# opt-level = 'z'
# optimization for size
# opt-level = 's'
# link time optimization using using whole-program analysis
lto = true
lto = true