[PR #27] build: produce an arm64 tunnel.dll #27

Open
opened 2026-10-13 21:05:08 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-windows/pull/27
Author: @yesihaveidea
Created: 7/25/2026
Status: 🔄 Open

Base: master ← Head: feat/arm64-build


📝 Commits (1)

  • 266025d build: produce an arm64 tunnel.dll

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 build.cmd (+1 -0)

📄 Description

build.cmd builds x64 and x86 only, so there is no arm64 tunnel.dll in the tree even though the bundled llvm-mingw toolchain ships aarch64-w64-mingw32-gcc and wireguard-windows has built all three architectures for years:

call :build_plat x86 i686 386
call :build_plat amd64 x86_64 amd64
call :build_plat arm64 aarch64 arm64

Windows-on-ARM is now mainstream enough that consumers hit this: while adding native ARM64 support to amnezia-client (amnezia-vpn/amnezia-client#2877) I had to drive the Go build directly from the Conan recipe to get an arm64 tunnel.dll. This restores parity with upstream so the shipped build script produces it.

Tested by building the arm64 tunnel.dll with the same toolchain and flags this script uses (Go with CGO_ENABLED=1, GOARCH=arm64, CC=aarch64-w64-mingw32-gcc) and running it on Windows 11 ARM64 (Snapdragon X Elite): the AmneziaWG tunnel connects and passes traffic.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-windows/pull/27 **Author:** [@yesihaveidea](https://github.com/yesihaveidea) **Created:** 7/25/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat/arm64-build` --- ### 📝 Commits (1) - [`266025d`](https://github.com/amnezia-vpn/amneziawg-windows/commit/266025d1067ffa30711ffe6542cf18defabcc71b) build: produce an arm64 tunnel.dll ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `build.cmd` (+1 -0) </details> ### 📄 Description `build.cmd` builds x64 and x86 only, so there is no arm64 `tunnel.dll` in the tree even though the bundled llvm-mingw toolchain ships `aarch64-w64-mingw32-gcc` and `wireguard-windows` has built all three architectures for years: ``` call :build_plat x86 i686 386 call :build_plat amd64 x86_64 amd64 call :build_plat arm64 aarch64 arm64 ``` Windows-on-ARM is now mainstream enough that consumers hit this: while adding native ARM64 support to amnezia-client (amnezia-vpn/amnezia-client#2877) I had to drive the Go build directly from the Conan recipe to get an arm64 `tunnel.dll`. This restores parity with upstream so the shipped build script produces it. Tested by building the arm64 `tunnel.dll` with the same toolchain and flags this script uses (Go with `CGO_ENABLED=1`, `GOARCH=arm64`, `CC=aarch64-w64-mingw32-gcc`) and running it on Windows 11 ARM64 (Snapdragon X Elite): the AmneziaWG tunnel connects and passes traffic. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-windows#27
No description provided.