Skip to content

Commit 5092097

Browse files
Add nasm for Windows cross-compile builds (#39)
Fixes the 32-bit Windows cross-compile build failure caused by missing `nasm`. ## Problem The `aws-lc-sys` crate (pulled in via `openssl` -> `rustls`) requires `nasm` for assembling optimized cryptographic routines on x86 targets. The CI workflow installed `gcc-mingw-w64` for Windows cross-compilation but not `nasm`, causing builds to fail with: `NASM command not found! Build cannot continue.` ## Fix Add `nasm` to the `apt install` in the Windows build dependencies step. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 57af97d commit 5092097

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393

9494
- name: Add Windows Build Dependencies
9595
if: ${{ contains(matrix.target.rustTarget, 'pc-windows') }}
96-
run: sudo apt install -y gcc-mingw-w64
96+
run: sudo apt install -y gcc-mingw-w64 nasm
9797

9898
- name: Add ARM32 Build Dependencies
9999
if: ${{ contains(matrix.target.rustTarget, 'arm') }}
@@ -170,3 +170,4 @@ jobs:
170170
VERSION="${{ github.ref_name }}"
171171
VERSION="${VERSION#v}"
172172
gh release upload ${{ github.event.release.tag_name }} --clobber ./${{ env.APP_NAME }}_${VERSION}_${{ matrix.target.debArch }}.deb
173+

0 commit comments

Comments
 (0)