aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/go-patches (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: bump golang version to 1.15.5Jason A. Donenfeld2020-11-198-26/+26
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go-patches: drop CreateWaitableTimerExJason A. Donenfeld2020-11-161-406/+0
| | | | | | It causes mysterious crashes. We'll revisit for 1.16. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go-patches: support 8 callback arguments on armJason A. Donenfeld2020-11-139-8/+68
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: add linker patches for llvm-rcJason A. Donenfeld2020-11-138-77/+545
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go: update to 1.15.2Jason A. Donenfeld2020-09-112-8/+148
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go: use highres timer on newer Windows 10Jason A. Donenfeld2020-08-181-0/+395
| | | | | | | | | | | WireGuard makes heavy use of timers, and the low precision of Windows timers as currently used in Go isn't very nice, and also seems to result in worse battery life because of the gross winmm.dll timerBeginPeriod trick. John Starks suggested this new parameter to make a high resolution timer on NT, and Alex implemented it, so import Alex's test patch to see how this goes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go: remove exit(2) from ctrl+c handlerJason A. Donenfeld2020-08-181-0/+44
Simon reported that he'd have hard to diagnose exits at boot time with Go 1.14 but not with 1.13. It turns out that the ctrl+c handler added by 1.14 at some point in the cycle includes some wrong behavior forcing exits on various services signals. In an attempt to address this, this commit backports my patch from 1.16 that removes this errant path. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>