Merge pull request #44 from knurling-rs/optimize-test-profile
also enable optimizations in the `test` profile
This commit is contained in:
@@ -40,6 +40,14 @@ incremental = false
|
|||||||
opt-level = 3 # <-
|
opt-level = 3 # <-
|
||||||
overflow-checks = true # <-
|
overflow-checks = true # <-
|
||||||
|
|
||||||
|
[profile.test]
|
||||||
|
codegen-units = 1
|
||||||
|
debug = 2
|
||||||
|
debug-assertions = true # <-
|
||||||
|
incremental = false
|
||||||
|
opt-level = 3 # <-
|
||||||
|
overflow-checks = true # <-
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
debug = 2
|
debug = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user