mirror of
https://github.com/encounter/sjiswrap.git
synced 2025-07-04 12:16:00 +00:00
Use -Z build-std in CI
This commit is contained in:
parent
2b472b0ccd
commit
9fe2bd4088
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -68,11 +68,12 @@ jobs:
|
|||||||
if: matrix.build == 'zigbuild'
|
if: matrix.build == 'zigbuild'
|
||||||
run: pip install ziglang==0.10.1.post1 cargo-zigbuild==0.17.0
|
run: pip install ziglang==0.10.1.post1 cargo-zigbuild==0.17.0
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
with:
|
with:
|
||||||
|
components: rust-src
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
- name: Cargo build
|
- name: Cargo build
|
||||||
run: cargo ${{ matrix.build }} --release --all-features --target ${{ matrix.target }} --bin ${{ env.CARGO_BIN_NAME }}
|
run: cargo ${{ matrix.build }} --release --all-features --target ${{ matrix.target }} --bin ${{ env.CARGO_BIN_NAME }} -Z build-std=std,panic_abort
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user