Skip to content

Add nasm for Windows cross-compile builds#39

Merged
richardsondev merged 2 commits into
masterfrom
fix/add-nasm-for-windows-builds
May 12, 2026
Merged

Add nasm for Windows cross-compile builds#39
richardsondev merged 2 commits into
masterfrom
fix/add-nasm-for-windows-builds

Conversation

@richardsondev
Copy link
Copy Markdown
Owner

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.

The aws-lc-sys crate requires nasm (Netwide Assembler) for optimized
cryptographic routines when targeting x86 Windows. Without it, the
i686-pc-windows-gnu build fails with 'NASM command not found'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 12, 2026 19:08
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the release CI workflow to fix Windows (GNU) cross-compilation failures by installing nasm, which is required by aws-lc-sys when building x86-target cryptographic assembly.

Changes:

  • Install nasm alongside gcc-mingw-w64 in the Windows build dependencies step of the release workflow.
Show a summary per file
File Description
.github/workflows/release.yml Adds nasm to the apt-installed dependencies for Windows cross-compile targets to prevent NASM command not found build failures.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@richardsondev richardsondev merged commit 5092097 into master May 12, 2026
8 checks passed
@richardsondev richardsondev deleted the fix/add-nasm-for-windows-builds branch May 12, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants