mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-04-27 10:55:20 +00:00
arch: add mips32 support
This commit is contained in:
parent
205e637d89
commit
277eec55b0
4 changed files with 258 additions and 10 deletions
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue