wireguard-go no longer builds with go1.16 ?

Adam Bliss abliss at gmail.com
Sun Oct 24 16:47:23 UTC 2021

The README says 1.16, but it seems like go1.17 may now be required due
to dependencies? This is what I get with go1.16 on ubuntu focal:

$ make
go build -v -o "wireguard-go"
go: downloading golang.org/x/sys v0.0.0-20211020174200-9d6173849985
go: downloading golang.org/x/net v0.0.0-20211020060615-d418f374d309
go: downloading golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
//go:build comment without // +build comment
make[1]: *** [Makefile:20: wireguard-go] Error 1
make: *** [Makefile:12: generate-version-and-build] Error 2


More information about the WireGuard mailing list