Open jperkin opened 1 year ago
A quick-and-dirty rebase of https://github.com/nshalman/wireguard-go/tree/tailscale-1.40 is up at
https://github.com/nshalman/wireguard-go/tree/20231031 https://github.com/nshalman/wireguard-go/commit/98037d67d12511ace9148c1ac920e794369c225e
I need to do some testing to see if it's working correctly.
It seems off.
Just to confirm that this builds fine, but if it's off then I'll wait for your ok before committing.
I don't know what was wrong with that branch, but I rebased against a release tag from upstream and that seems to behave. Please try https://github.com/nshalman/wireguard-go/releases/tag/0.0.20230223-sunos
This fork is a little behind upstream, and in particular is missing https://github.com/nshalman/wireguard-go/commit/42ec952eadc297efadc70b9911d5a59bcd2db4a6 which will hopefully fix the build against Go 1.21.
Go 1.21 is now the default in pkgsrc, and this causes wireguard-go to fail in gvisor:
https://us-central.manta.mnx.io/pkgsrc/public/reports/trunk/tools/20231031.0849/wireguard-go-0.0.20220316/build.log
due to the following constraints in gvisor@v0.0.0-20221203005347-703fd9b7fbc0/pkg/gohacks/gohacks_unsafe.go:
Thanks!