From 8abf49f7948087970a2377430a8fbece55906a5a Mon Sep 17 00:00:00 2001 From: Tony Date: Mon, 15 Jan 2024 12:12:47 +0800 Subject: [PATCH] Add missing panic_abort to build-std args --- .github/workflows/build-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 693d617..9d9f444 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -19,7 +19,7 @@ jobs: rustup component add rust-src --toolchain nightly - name: Build - run: cargo +nightly build -Z build-std=std --target x86_64-pc-windows-msvc --release + run: cargo +nightly build -Z build-std=std,panic_abort --target x86_64-pc-windows-msvc --release - uses: actions/upload-artifact@v4 with: @@ -40,7 +40,7 @@ jobs: rustup component add rust-src --toolchain nightly - name: Build - run: cargo +nightly build -Z build-std=std --target x86_64-unknown-linux-gnu --release + run: cargo +nightly build -Z build-std=std,panic_abort --target x86_64-unknown-linux-gnu --release - uses: actions/upload-artifact@v4 with: