arch: add mips32 support

This commit is contained in:
Amaan Qureshi 2026-04-17 12:52:15 -04:00
commit 277eec55b0
No known key found for this signature in database
4 changed files with 258 additions and 10 deletions

View file

@ -52,6 +52,11 @@ jobs:
# powerpc uses experimental asm features
- target: powerpc-unknown-linux-gnu
toolchain: nightly
# mips is tier-3 and uses experimental asm features
- target: mips-unknown-linux-gnu
toolchain: nightly
components: rust-src
build_std: true
steps:
- name: "Checkout"
@ -77,7 +82,7 @@ jobs:
target: ${{ matrix.target }}
- name: "Build"
run: cargo build --verbose --target ${{ matrix.target }} ${{ matrix.build_std && '-Z build-std=core,alloc,panic_abort' || '' }}
run: cargo build --verbose --target ${{ matrix.target }} ${{ matrix.build_std && '-Z build-std=core,alloc,panic_abort' || '' }} ${{ matrix.extra_args || '' }}
# tier-3 targets have no prebuilt std and tests are arch-agnostic, so
# run them against the host toolchain instead of the cross target.