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"
45
45
smart-leds = " 0.3.0"
46
46
ws2812-pio = " 0.6.0"
47
47
48
- # cargo build/run
49
- [profile .dev ]
48
+ [profile .dev .package .ledmatrix ]
50
49
codegen-units = 1
51
- debug = 2
52
- debug-assertions = true
53
- incremental = false
50
+ incremental = true
54
51
# To allow single-stepping through code use 0. Will cause timing issues, though
55
52
opt-level = 3
56
- overflow-checks = true
57
53
58
- # cargo build/run --release
59
- [profile .release ]
54
+ [profile .dev .package .c1minimal ]
60
55
codegen-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
65
58
opt-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
75
59
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 ]
85
61
codegen-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
89
64
opt-level = 3
90
- overflow-checks = true
91
65
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 ]
94
69
codegen-units = 1
95
70
debug = 2
96
- debug-assertions = false
97
- incremental = false
98
71
lto = ' fat'
99
- opt-level = 3
You can’t perform that action at this time.
0 commit comments