mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
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>
This commit is contained in:
parent
d664444928
commit
3d83df9bf3
@ -1,4 +1,4 @@
|
|||||||
// +build 386 arm
|
// +build windows,386 windows,arm
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// +build amd64 arm64
|
// +build windows,amd64 windows,arm64
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// +build 386 arm
|
// +build windows,386 windows,arm
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// +build amd64 arm64
|
// +build windows,amd64 windows,arm64
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user