Change opt level to be fast

This commit is contained in:
Fabian Stamm 2022-03-21 17:21:50 +01:00
parent bfd0189610
commit cc9872034d

View File

@ -16,7 +16,7 @@ serde_yaml = "0.8.23"
simple-error = "0.2.3" simple-error = "0.2.3"
[profile.release] [profile.release]
opt-level = 'z' # Optimize for size. opt-level = 3 # Optimize for size.
lto = true # Enable Link Time Optimization lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations. codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic panic = 'abort' # Abort on panic