Merge pull request #284 from betrusted-io/use-thin-lto

cargo: use thin-lto
This commit is contained in:
bunnie 2022-12-15 14:00:10 +08:00 committed by GitHub
commit b288d93abd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ exclude = [
codegen-units = 1 # 1 better optimizations
debug = false
strip = true
lto = "fat"
lto = "thin"
incremental = true
#panic = "abort" # Remove panic output, which can reduce file size
#opt-level = 1 # z,s: Optimize for size instead of performance; 1 for easier debugging