Skip to content

Commit a3cfc65

Browse files
committed
fix: disable AVX-512 for Windows release build
1 parent 17ed328 commit a3cfc65

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
uses: ilammy/msvc-dev-cmd@v1
3535
with:
3636
arch: x64
37+
- name: Disable AVX-512 for Windows build
38+
if: matrix.os == 'windows-latest'
39+
run: echo "RUSTFLAGS=-C target-feature=-avx512bw,-avx512dq,-avx512vl,-avx512f" >> $GITHUB_ENV
3740
- name: Build wheels
3841
uses: PyO3/maturin-action@v1
3942
env:

0 commit comments

Comments
 (0)