File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,9 @@ jobs:
288
288
- restore_cache :
289
289
keys :
290
290
- cargocache-v2-package_core-rust:1.73-{{ checksum "Cargo.lock" }}
291
+ - run :
292
+ name : Add thumbv7em-none-eabi target
293
+ command : rusup target add thumbv7em-none-eabi && rustup target list --installed
291
294
- run :
292
295
name : Add wasm32 target
293
296
command : rustup target add wasm32-unknown-unknown && rustup target list --installed
@@ -299,6 +302,10 @@ jobs:
299
302
name : Build library for wasm target (no features)
300
303
working_directory : ~/project/packages/core
301
304
command : cargo wasm --locked --no-default-features
305
+ - run :
306
+ name : Build library for no_std target (no features)
307
+ working_directory : ~/project/packages/core
308
+ command : cargo no-std --locked --no-default-features
302
309
- run :
303
310
name : Run unit tests (no features)
304
311
working_directory : ~/project/packages/core
Original file line number Diff line number Diff line change 1
1
[alias]
2
+ no-std = "build --release --lib --target thumbv7em-none-eabi"
2
3
wasm = "build --release --lib --target wasm32-unknown-unknown"
3
4
wasm-debug = "build --lib --target wasm32-unknown-unknown"
4
5
unit-test = "test --lib"
You can’t perform that action at this time.
0 commit comments