|
8 | 8 | verbose := if v == "1" { "--verbose" } else { "" } |
9 | 9 |
|
10 | 10 | # Our default target. It does everything that you might want to do pre-checkin. |
11 | | -check: build-all build-all-examples doc-all fmt-check clippy-examples clippy-targets clippy-arm-targets test |
| 11 | +check: build-all build-all-examples doc-all fmt-check clippy-all test |
12 | 12 |
|
13 | 13 | github_info: |
14 | 14 | echo 'msrv_targets=["armv7a-none-eabi","armv7r-none-eabi","armv7r-none-eabihf"]' |
@@ -180,22 +180,35 @@ fmt-check: |
180 | 180 | cd examples/mps3-an536-el2 && cargo fmt --check {{verbose}} |
181 | 181 |
|
182 | 182 | # Checks all the cross-compiled workspace passes the clippy lints |
183 | | -clippy-targets: \ |
184 | | - (clippy-target "armv7a-none-eabi" ) \ |
185 | | - (clippy-target "armv7a-none-eabihf" ) \ |
186 | | - (clippy-target "armv7r-none-eabi" ) \ |
187 | | - (clippy-target "armv7r-none-eabihf" ) \ |
188 | | - (clippy-target "armv8r-none-eabihf" ) \ |
189 | | - (clippy-target "thumbv7a-none-eabi" ) \ |
190 | | - (clippy-target "thumbv7a-none-eabihf" ) \ |
191 | | - (clippy-target "thumbv7r-none-eabi" ) \ |
192 | | - (clippy-target "thumbv7r-none-eabihf" ) \ |
193 | | - (clippy-target "thumbv8r-none-eabihf" ) \ |
| 183 | +clippy-all: \ |
| 184 | + clippy-arm-targets \ |
| 185 | + clippy-examples \ |
| 186 | + (clippy-tier3 "armv4t-none-eabi") \ |
| 187 | + (clippy-tier3 "thumbv4t-none-eabi") \ |
| 188 | + (clippy-tier3 "armv5te-none-eabi") \ |
| 189 | + (clippy-tier3 "thumbv5te-none-eabi") \ |
| 190 | + (clippy-tier3 "armv6-none-eabi") \ |
| 191 | + (clippy-tier3 "thumbv6-none-eabi") \ |
| 192 | + (clippy-tier3 "armv6-none-eabihf") \ |
| 193 | + (clippy-tier2 "armv7r-none-eabi") \ |
| 194 | + (clippy-tier2 "thumbv7r-none-eabi") \ |
| 195 | + (clippy-tier2 "armv7r-none-eabihf") \ |
| 196 | + (clippy-tier2 "thumbv7r-none-eabihf") \ |
| 197 | + (clippy-tier2 "armv7a-none-eabi") \ |
| 198 | + (clippy-tier2 "thumbv7a-none-eabi") \ |
| 199 | + (clippy-tier2 "armv7a-none-eabihf") \ |
| 200 | + (clippy-tier2 "thumbv7a-none-eabihf") \ |
| 201 | + (clippy-tier2 "armv8r-none-eabihf") \ |
| 202 | + (clippy-tier2 "thumbv8r-none-eabihf") \ |
194 | 203 |
|
195 | 204 | # Checks all the cross-compiled workspace passes the clippy lints |
196 | | -clippy-target target: |
| 205 | +clippy-tier2 target: |
197 | 206 | cargo clippy --target={{target}} {{verbose}} |
198 | 207 |
|
| 208 | +# Checks all the cross-compiled workspace passes the clippy lints |
| 209 | +clippy-tier3 target: |
| 210 | + cargo clippy --target={{target}} -Zbuild-std {{verbose}} |
| 211 | + |
199 | 212 | # Checks the examples pass the clippy lints |
200 | 213 | clippy-examples: |
201 | 214 | cd examples/versatileab && cargo clippy --target=armv7r-none-eabi {{verbose}} |
|
0 commit comments