Skip to content

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

@dmitshur

Description

@dmitshur

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
FAIL	golang.org/x/tools/go/packages	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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.OS-WindowsTestingAn issue that has been verified to require only test changes, not just a test failure.ToolsThis label describes issues relating to any tools in the x/tools repository.release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions