Skip to content

feat: Windows ARM64 target architecture support#331

Open
larseggert wants to merge 2 commits intonodejs:mainfrom
larseggert:feat-arm64
Open

feat: Windows ARM64 target architecture support#331
larseggert wants to merge 2 commits intonodejs:mainfrom
larseggert:feat-arm64

Conversation

@larseggert
Copy link

Extend the MSVC toolchain integration to support Windows ARM64 targets.

(I know very little about gyp, so these changes may be a bit rough. They were enough to get NSS building on Windows 11/ARM in CI via mozilla/neqo#2591. Please let me know if anything needs changing!)

@larseggert larseggert changed the title feat: ARM64 target architecture support feat: Windows ARM64 target architecture support Feb 25, 2026
@cclauss
Copy link
Contributor

cclauss commented Mar 2, 2026

Failing test was fixed in:

@legendecas
Copy link
Member

Would you mind rebasing on top of the main branch? Thank you!

larseggert and others added 2 commits March 2, 2026 19:16
Extend the MSVC toolchain integration to support Windows ARM64 targets.

(I know very little about gyp, so these changes may be a bit rough. They were enough to get NSS building on Windows 11/ARM in CI via mozilla/neqo#2591. Please let me know if anything needs changing!)
Co-authored-by: Christian Clauss <cclauss@me.com>
@legendecas
Copy link
Member

I don't have an ARM64 windows machine to verify this patch.

As a follow-up, we could add an integration test for windows in https://github.com/nodejs/gyp-next/blob/main/test/integration_test.py.

Copy link
Member

@legendecas legendecas left a comment

Choose a reason for hiding this comment

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

Code-wise LGTM.

@larseggert
Copy link
Author

larseggert commented Mar 3, 2026

FWIW, GitHub now as Windows/ARM runners, so you can at least test in CI: https://github.com/actions/partner-runner-images/blob/main/images/arm-windows-11-image.md

@legendecas
Copy link
Member

Yeah, we do run windows arm test with node-gyp. But the integration test is not run on windows arm.

- os: windows-11-arm # Windows on ARM

Filed #335.

@legendecas
Copy link
Member

@cclauss would you like to take another look?

@cclauss cclauss requested a review from StefanStojanovic March 3, 2026 16:21
@cclauss
Copy link
Contributor

cclauss commented Mar 3, 2026

Syntax-wise I am OK with this, but I have never been a Windows user.

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.

3 participants