Skip to content

Commit b61bdad

Browse files
author
Jonas Schievink
authored
Merge pull request #44 from knurling-rs/optimize-test-profile
also enable optimizations in the `test` profile
2 parents 19ec8c4 + 9200fbe commit b61bdad

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ incremental = false
4040
opt-level = 3 # <-
4141
overflow-checks = true # <-
4242

43+
[profile.test]
44+
codegen-units = 1
45+
debug = 2
46+
debug-assertions = true # <-
47+
incremental = false
48+
opt-level = 3 # <-
49+
overflow-checks = true # <-
50+
4351
[profile.release]
4452
codegen-units = 1
4553
debug = 2

0 commit comments

Comments
 (0)