diff --git a/.github/workflows/nopanic.yaml b/.github/workflows/nopanic.yaml index 68a69ed7..ef61b216 100644 --- a/.github/workflows/nopanic.yaml +++ b/.github/workflows/nopanic.yaml @@ -127,3 +127,15 @@ jobs: run: cargo build --release --target=aarch64-apple-darwin - name: Build (apple-other.rs) run: cargo build --release --target=aarch64-apple-ios + + windows: + name: Windows + runs-on: windows-2022 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly-2024-10-14 + components: rust-src + - run: cargo build --release + - run: cargo build --release --target=x86_64-win7-windows-msvc -Zbuild-std="std,panic_abort" diff --git a/nopanic_check/Cargo.toml b/nopanic_check/Cargo.toml index de577499..0b838eaa 100644 --- a/nopanic_check/Cargo.toml +++ b/nopanic_check/Cargo.toml @@ -17,6 +17,7 @@ getrandom = { path = ".." } [profile.release] panic = "abort" strip = true +lto = "fat" [lints.rust.unexpected_cfgs] level = "warn"