You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klauspost
changed the title
x/tools/go/packages: Crash on Go 1.10 with cgo disabled.
x/tools/go/packages: Crash on Go 1.10.x with cgo disabled.
Jan 2, 2019
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
With latest
x/tools/go/packages
, yes, but the issue doesn't show up when using Go 1.11.xWhat operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Using staticcheck:
go get -u honnef.co/go/tools/...
Checking a package, but disabling cgo:
$GOPATH/test/main.go:
$GOPATH/test/main_test.go:
Execute:
env CGO_ENABLED=0 staticcheck test
What did you expect to see?
Successful inspection.
What did you see instead?
Crash in the package loader:
Seems this error was found in #28040 - but maybe was assumed to be a flaky test?
The text was updated successfully, but these errors were encountered: