Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/go/packages: TestCgoOption fails on Windows because net.cgoLookupHost doesn't exist #35839

dmitshur opened this issue Nov 26, 2019 · 0 comments


Copy link

@dmitshur dmitshur commented Nov 26, 2019

From a recent run of the windows-amd64-longtest builder (after increasing its memory in CL 208500):

--- FAIL: TestCgoOption (0.66s)
    stdlib_test.go:117: no object net.cgoLookupHost
FAIL	114.749s

The test tries to look for function cgoLookupHost, which exists in net/cgo_unix.go, but not in net/cgo_windows.go. I don't think the test can pass as is on Windows.

/cc @matloob per owners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.