9898 uses : dtolnay/rust-toolchain@master
9999 with :
100100 toolchain : ${{ env.RUST_STABLE_VER }}
101- targets : x86_64-unknown-none
101+ targets : x86_64-unknown-none,thumbv8m.main-none-eabihf
102102 components : clippy
103103
104104 - name : install cargo-hack
@@ -114,6 +114,9 @@ jobs:
114114 - name : cargo clippy (no_std)
115115 run : cargo hack clippy --workspace --locked --optional-deps --each-feature --ignore-unknown-features --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} --target x86_64-unknown-none -- -D warnings
116116
117+ - name : cargo clippy (no_std 32bit)
118+ run : cargo hack clippy --workspace --locked --optional-deps --each-feature --ignore-unknown-features --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} --target thumbv8m.main-none-eabihf -- -D warnings
119+
117120 - name : cargo clippy
118121 run : cargo hack clippy --workspace --locked --optional-deps --each-feature --ignore-unknown-features --features std -- -D warnings
119122
@@ -213,7 +216,7 @@ jobs:
213216 uses : dtolnay/rust-toolchain@master
214217 with :
215218 toolchain : ${{ env.RUST_MIN_VER }}
216- targets : x86_64-unknown-none
219+ targets : x86_64-unknown-none,thumbv8m.main-none-eabihf
217220
218221 - name : install cargo-hack
219222 uses : taiki-e/install-action@v2
@@ -228,6 +231,9 @@ jobs:
228231 - name : cargo check (no_std)
229232 run : cargo hack check ${{ env.RUST_MIN_VER_PKGS }} --locked --optional-deps --each-feature --ignore-unknown-features --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} --target x86_64-unknown-none
230233
234+ - name : cargo check (no_std 32bit)
235+ run : cargo hack check ${{ env.RUST_MIN_VER_PKGS }} --locked --optional-deps --each-feature --ignore-unknown-features --features libm --exclude-features ${{ env.FEATURES_DEPENDING_ON_STD }} --target thumbv8m.main-none-eabihf
236+
231237 - name : cargo check
232238 run : cargo hack check ${{ env.RUST_MIN_VER_PKGS }} --locked --optional-deps --each-feature --ignore-unknown-features --features std
233239
0 commit comments