Merge pull request #44 from knurling-rs/optimize-test-profile

also enable optimizations in the `test` profile
This commit is contained in:
Jonas Schievink
2021-02-24 14:53:51 +01:00
committed by GitHub
+8
View File
@@ -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