imp: let users decide on codegen units and LTO

This commit is contained in:
Kevin K 2018-10-19 23:36:22 -04:00
parent a7e87d619c
commit 0f4096b3d4

View file

@ -82,13 +82,13 @@ debug = [] # Enables debug messages
no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros no_cargo = [] # Enable if you're not using Cargo, disables Cargo-env-var-dependent macros
doc = ["yaml"] # All the features which add to documentation doc = ["yaml"] # All the features which add to documentation
[profile.release] # [profile.release]
opt-level = 3 # opt-level = 3
debug = false # debug = false
rpath = false # rpath = false
lto = true # lto = true
debug-assertions = false # debug-assertions = false
codegen-units = 1 # codegen-units = 1
[profile.dev] [profile.dev]
opt-level = 0 opt-level = 0