Skip to content

Run workerd under emulation for ARM64 Windows#6882

Open
Badbird5907 wants to merge 3 commits into
cloudflare:mainfrom
Badbird5907:add-win32-arm64
Open

Run workerd under emulation for ARM64 Windows#6882
Badbird5907 wants to merge 3 commits into
cloudflare:mainfrom
Badbird5907:add-win32-arm64

Conversation

@Badbird5907

@Badbird5907 Badbird5907 commented Jul 14, 2026

Copy link
Copy Markdown

Interim patch that lets workerd run on Windows ARM64 by loading the x64 Windows binary under emulation, until native ARM64 support (#2735) is merged.

There is currently no native win32/arm64 build, so pkgAndSubpathForCurrentPlatform() throws Unsupported platform: win32 arm64 on ARM64 machines. This patch remaps win32/arm64 to the existing win32/x64 package, which runs fine under Windows' x64 emulation.

I've been running workerd this way on Windows ARM for ~6 months with no issues, using this patch.

Related: #2735

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 272fb551a8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread npm/lib/node-platform.ts
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.

1 participant