Skip to content

Commit

Permalink
Remove hardcoded rust-toolchain and use panic=abort on windows-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Jan 2, 2023
1 parent 30f0183 commit 77e2b28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.63
target: ${{ matrix.target }}
- uses: Swatinem/rust-cache@v1
if: matrix.use_sccache != true
Expand Down Expand Up @@ -272,7 +271,6 @@ jobs:
sudo apt install -y mingw-w64
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.61
target: x86_64-pc-windows-gnu
- name: Install Windows-GNU target
shell: bash
Expand Down Expand Up @@ -303,6 +301,8 @@ jobs:
shell: bash
run: |
cargo build --release --target x86_64-pc-windows-gnu --manifest-path lib/c-api/Cargo.toml --no-default-features --features wat,compiler,wasi,middlewares,webc_runner --features cranelift,singlepass,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load
env:
RUSTFLAGS: -Cpanic=abort
- name: Dist
run: |
make distribution-gnu
Expand All @@ -321,7 +321,6 @@ jobs:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.61
target: aarch64-unknown-linux-gnu
- name: Build cross image
run: |
Expand Down

0 comments on commit 77e2b28

Please sign in to comment.