File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,17 @@ jobs:
6161 ensure_no_std :
6262 name : Ensure no_std
6363 runs-on : ubuntu-latest
64+ strategy :
65+ matrix :
66+ target : [thumbv7em-none-eabihf, thumbv6m-none-eabi]
6467 steps :
6568 - uses : actions/checkout@v4
6669 - uses : dtolnay/rust-toolchain@master
6770 with :
6871 toolchain : nightly
69- targets : thumbv7em-none-eabihf
70- - run : cd ensure_no_std && cargo build --release --target thumbv7em-none-eabihf
71- - run : cd ensure_no_std && cargo build --release --target thumbv7em-none-eabihf --no-default-features
72+ targets : ${{ matrix.target }}
73+ - run : cd ensure_no_std && cargo build --release --target ${{ matrix.target }}
74+ - run : cd ensure_no_std && cargo build --release --target ${{ matrix.target }} --no-default-features
7275
7376 ensure_wasm :
7477 name : Ensure wasm
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ mod unit;
1010#[ cfg( feature = "alloc" ) ]
1111mod vec;
1212
13- #[ cfg( feature = "alloc" ) ]
13+ #[ cfg( all ( feature = "alloc" , target_has_atomic = "ptr" ) ) ]
1414mod arc;
1515
1616#[ cfg( feature = "alloc" ) ]
You can’t perform that action at this time.
0 commit comments