diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-01-16 21:29:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 13:29:10 +0000 |
commit | da274380a7be72e0153a448611278b402e20ad7e (patch) | |
tree | 3394617198460e7f5222dd0efdaabf87c1b27816 /modules/repository/generate.go | |
parent | 16e9dec8279ae1984db2cb2fb0ea57e0af77f95e (diff) | |
download | gitea-da274380a7be72e0153a448611278b402e20ad7e.tar.gz gitea-da274380a7be72e0153a448611278b402e20ad7e.zip |
Remove the netgo tag for Windows build (#22467)
Fix #22370 and more.
Before Go 1.19, the `netgo` tag for Windows does nothing.
But Go 1.19 rewrite the net package code for Windows DNS, and there is a
bug:
* https://github.com/golang/go/issues/57757
This PR just removes the `netgo` tag for Windows build, then the Gitea
for Windows can have the old DNS behavior.
Diffstat (limited to 'modules/repository/generate.go')
0 files changed, 0 insertions, 0 deletions