Skip to content

Commit 461fdf1

Browse files
committed
Missing justfile contents
1 parent 64328f3 commit 461fdf1

1 file changed

Lines changed: 26 additions & 13 deletions

File tree

justfile

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ v := "0"
88
verbose := if v == "1" { "--verbose" } else { "" }
99

1010
# 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
1212

1313
github_info:
1414
echo 'msrv_targets=["armv7a-none-eabi","armv7r-none-eabi","armv7r-none-eabihf"]'
@@ -180,22 +180,35 @@ fmt-check:
180180
cd examples/mps3-an536-el2 && cargo fmt --check {{verbose}}
181181

182182
# 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") \
194203

195204
# Checks all the cross-compiled workspace passes the clippy lints
196-
clippy-target target:
205+
clippy-tier2 target:
197206
cargo clippy --target={{target}} {{verbose}}
198207

208+
# Checks all the cross-compiled workspace passes the clippy lints
209+
clippy-tier3 target:
210+
cargo clippy --target={{target}} -Zbuild-std {{verbose}}
211+
199212
# Checks the examples pass the clippy lints
200213
clippy-examples:
201214
cd examples/versatileab && cargo clippy --target=armv7r-none-eabi {{verbose}}

0 commit comments

Comments
 (0)