Skip to content

Commit e372046

Browse files
authored
Merge pull request #14 from dsprenkels/opt-level_2
Optimize debug builds by default
2 parents ee58859 + 7d2287d commit e372046

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ all_mcus = []
2323

2424
[build-dependencies]
2525
avr-mcu = "0.2"
26+
27+
[profile.dev]
28+
# Most of the build consists of generating the mcu description files. So
29+
# enable optimizations to speed this process.
30+
opt-level = 2

0 commit comments

Comments
 (0)