File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ defmt-info = []
3232defmt-warn = []
3333defmt-error = []
3434
35+ # cargo build/run
3536[profile .dev ]
3637codegen-units = 1
3738debug = 2
@@ -40,6 +41,7 @@ incremental = false
4041opt-level = 3 # <-
4142overflow-checks = true # <-
4243
44+ # cargo test
4345[profile .test ]
4446codegen-units = 1
4547debug = 2
@@ -48,6 +50,7 @@ incremental = false
4850opt-level = 3 # <-
4951overflow-checks = true # <-
5052
53+ # cargo build/run --release
5154[profile .release ]
5255codegen-units = 1
5356debug = 2
@@ -57,6 +60,16 @@ lto = 'fat'
5760opt-level = 3 # <-
5861overflow-checks = false # <-
5962
63+ # cargo test --release
64+ [profile .bench ]
65+ codegen-units = 1
66+ debug = 2
67+ debug-assertions = false # <-
68+ incremental = false
69+ lto = ' fat'
70+ opt-level = 3 # <-
71+ overflow-checks = false # <-
72+
6073# uncomment this to switch from the crates.io version of defmt to its git version
6174# check app-template's README for instructions
6275# [patch.crates-io]
You can’t perform that action at this time.
0 commit comments