aboutsummaryrefslogtreecommitdiffstats
path: root/tun/wintun/memmod/memmod_windows_32.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-12-23 17:49:36 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-07 14:49:44 +0100
commit3d83df9bf3edcffcd5c2347323f70b9d12898a81 (patch)
tree08d5239fdb9b839ba9562bf1ee901d9ffbbecc40 /tun/wintun/memmod/memmod_windows_32.go
parenttun: make customization of WintunPool and requested GUID more obvious (diff)
downloadwireguard-go-3d83df9bf3edcffcd5c2347323f70b9d12898a81.tar.xz
wireguard-go-3d83df9bf3edcffcd5c2347323f70b9d12898a81.zip
memmod: apply explicit build tags to _32 and _64 files
Since _32 and _64 aren't valid goarchs, they don't match _GOOS_GOARCH, and so the existing tags wind up not being restricted to windows-only. This fixes the problem by adding windows to the tags explicitly. We could also fix it by calling the files _32_windows or _64_windows, but that changes the convention with the other single-arch files. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/wintun/memmod/memmod_windows_32.go')
-rw-r--r--tun/wintun/memmod/memmod_windows_32.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/memmod/memmod_windows_32.go b/tun/wintun/memmod/memmod_windows_32.go
index bd2e254..bb0f5e3 100644
--- a/tun/wintun/memmod/memmod_windows_32.go
+++ b/tun/wintun/memmod/memmod_windows_32.go
@@ -1,4 +1,4 @@
-// +build 386 arm
+// +build windows,386 windows,arm
/* SPDX-License-Identifier: MIT
*