fix: Use Nightly toolchain + build-std for MIPS MUSL
This commit is contained in:
7
.github/workflows/build-mips.yml
vendored
7
.github/workflows/build-mips.yml
vendored
@@ -16,9 +16,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
with:
|
with:
|
||||||
targets: wasm32-unknown-unknown
|
targets: wasm32-unknown-unknown
|
||||||
|
components: rust-src
|
||||||
|
|
||||||
- name: Install Trunk
|
- name: Install Trunk
|
||||||
uses: jetli/trunk-action@v0.5.0
|
uses: jetli/trunk-action@v0.5.0
|
||||||
@@ -35,9 +36,11 @@ jobs:
|
|||||||
run: cargo install cross
|
run: cargo install cross
|
||||||
|
|
||||||
- name: Build Backend (MIPS)
|
- name: Build Backend (MIPS)
|
||||||
|
env:
|
||||||
|
RUSTUP_TOOLCHAIN: nightly
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
cross build --target mips-unknown-linux-musl --release
|
cross build --target mips-unknown-linux-musl --release -Z build-std=std,panic_abort
|
||||||
|
|
||||||
- name: Upload Binary
|
- name: Upload Binary
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user