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
doc = ["yaml"] # All the features which add to documentation
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
# [profile.release]
# opt-level = 3
# debug = false
# rpath = false
# lto = true
# debug-assertions = false
# codegen-units = 1
[profile.dev]
opt-level = 0