Skip to content

Add windows/arm64 syscall bindings - #3

Open
boypt wants to merge 1 commit into
hattya:masterfrom
boypt:arm64
Open

Add windows/arm64 syscall bindings#3
boypt wants to merge 1 commit into
hattya:masterfrom
boypt:arm64

Conversation

@boypt

@boypt boypt commented Sep 9, 2026

Copy link
Copy Markdown

GOOS=windows GOARCH=arm64 builds fail because internal/sys only ships windows/386 and windows/amd64 variants: undefined sys.SetWindowLongPtr / sys.GetWindowLongPtr. This adds internal/sys/syscall_windows_arm64.go mirroring the amd64 file (same user32 GetWindowLongPtrW/SetWindowLongPtrW bindings; ARM64 Windows 10+ provides both, pointer width matches amd64). Verified with windows/arm64 + amd64 cross-compiles of a downstream consumer.

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