File tree Expand file tree Collapse file tree 1 file changed +11
-39
lines changed
Expand file tree Collapse file tree 1 file changed +11
-39
lines changed Original file line number Diff line number Diff line change @@ -45,55 +45,27 @@ tinybmp = "0.5.0"
4545smart-leds = " 0.3.0"
4646ws2812-pio = " 0.6.0"
4747
48- # cargo build/run
49- [profile .dev ]
48+ [profile .dev .package .ledmatrix ]
5049codegen-units = 1
51- debug = 2
52- debug-assertions = true
53- incremental = false
50+ incremental = true
5451# To allow single-stepping through code use 0. Will cause timing issues, though
5552opt-level = 3
56- overflow-checks = true
5753
58- # cargo build/run --release
59- [profile .release ]
54+ [profile .dev .package .c1minimal ]
6055codegen-units = 1
61- debug = 2
62- debug-assertions = false
63- incremental = false
64- lto = ' fat'
56+ incremental = true
57+ # To allow single-stepping through code use 0. Will cause timing issues, though
6558opt-level = 3
66- overflow-checks = false
67-
68- # do not optimize proc-macro crates = faster builds from scratch
69- [profile .dev .build-override ]
70- codegen-units = 8
71- debug = false
72- debug-assertions = false
73- opt-level = 0
74- overflow-checks = false
7559
76- [profile .release .build-override ]
77- codegen-units = 8
78- debug = false
79- debug-assertions = false
80- opt-level = 0
81- overflow-checks = false
82-
83- # cargo test
84- [profile .test ]
60+ [profile .dev .package .b1display ]
8561codegen-units = 1
86- debug = 2
87- debug-assertions = true
88- incremental = false
62+ incremental = true
63+ # To allow single-stepping through code use 0. Will cause timing issues, though
8964opt-level = 3
90- overflow-checks = true
9165
92- # cargo test --release
93- [profile .bench ]
66+ # Faster and smaller code but much slower to compile.
67+ # Increase in rebuild time from <1s to 20s
68+ [profile .release ]
9469codegen-units = 1
9570debug = 2
96- debug-assertions = false
97- incremental = false
9871lto = ' fat'
99- opt-level = 3
You can’t perform that action at this time.
0 commit comments