We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d56b6e4 commit e42c430Copy full SHA for e42c430
Cargo.toml
@@ -141,15 +141,27 @@ defmt-info = ["defmt"]
141
defmt-warn = ["defmt"]
142
defmt-error = ["defmt"]
143
144
+# cargo build/run
145
[profile.dev]
-debug = true
146
+debug = 2
147
lto = true
148
149
+# cargo test
150
+[profile.test]
151
152
+opt-level = 3 # <-
153
+
154
+# cargo build/run --release
155
[profile.release]
156
157
158
opt-level = "s"
159
160
+# cargo test --release
161
+[profile.bench]
162
163
+opt-level = "s"
164
165
[[example]]
166
name = "pwm"
167
required-features = ["ld", "stm32f303xc"]
0 commit comments