Skip to content

Commit 0d14d5a

Browse files
committed
Add no_std to CI
1 parent a98aef8 commit 0d14d5a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
- uses: dtolnay/rust-toolchain@master
3434
with:
3535
toolchain: ${{ matrix.rust }}
36+
# Add toolchain for no_std tests
37+
- run: rustup target add aarch64-unknown-none
3638
- run: cargo build --all-targets
3739
# Run tests
3840
- name: Run tests
@@ -49,6 +51,8 @@ jobs:
4951
run: cargo test --test debugger_visualizer --features "url/serde,url/debugger_visualizer" -- --test-threads=1
5052
- name: Test `no_std` support
5153
run: cargo test --no-default-features --features=alloc
54+
- name: Build `aarch64-unknown-none` with `no_std`
55+
run: cargo +nightly build -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release
5256

5357
WASM:
5458
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)