fix(rust): use core crates for no_std

also add `no_std` build to CI
This commit is contained in:
Simon Willshire 2025-03-25 14:30:32 +01:00 committed by GitHub
parent dac6300558
commit ee8d529552
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 3 deletions

View file

@ -203,6 +203,13 @@ jobs:
npm run build
npm run build:debug
- name: Check no_std builds
if: ${{ !matrix.no-run && inputs.run-test }}
shell: bash
run: |
cd lib
$BUILD_CMD check --no-default-features
- name: Build target
run: $BUILD_CMD build --release --target=${{ matrix.target }} --features=${{ matrix.features }}