fix: windows crash for golang1.26 on WSARecvFrom syscall

This commit is contained in:
wwqgtxx
2026-03-09 14:19:23 +08:00
parent 4c35436b70
commit 68ca83f2f8
4 changed files with 72 additions and 3 deletions

View File

@@ -50,6 +50,13 @@ jobs:
go-version: ${{ matrix.go-version }}
check-latest: true # Always check for the latest patch release
# TODO: remove after issue77975 fixed, see: https://github.com/golang/go/issues/77975
- name: Fix issue77975 for Golang1.26
if: ${{ matrix.jobs.goversion == '1.26' }}
run: |
cd $(go env GOROOT)
patch --verbose -p 1 < $GITHUB_WORKSPACE/.github/patch/issue77975.patch
- name: Revert Golang commit for Windows7/8
if: ${{ runner.os == 'Windows' && matrix.go-version != '1.20' }}
run: |