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
/go/src/test-vgo-vet # go vet(return empty response)
What did you see instead?
/go/src/test-vgo-vet # vgo vet
# runtime/usr/local/go/src/runtime/alg.go:66: possible misuse of unsafe.Pointer/usr/local/go/src/runtime/atomic_pointer.go:57: possible misuse of unsafe.Pointer/usr/local/go/src/runtime/cgo_mmap.go:37: possible misuse of unsafe.Pointer/usr/local/go/src/runtime/cgocall.go:189: possible misuse of unsafe.Pointer...
System details
$ docker run -it --rm golang:1.10.3-alpine3.8 sh
# uname -aLinux 91fca2cc10e3 4.9.93-linuxkit-aufs #1 SMP Wed Jun 6 16:55:56 UTC 2018 x86_64 Linux
The text was updated successfully, but these errors were encountered:
vgo is now merged with the main repo. Unless you are required to use vgo, you should just use the go command. Also, there have been a lot of fixes that have gone in the main branch, and vgo is out of sync with it.
I would request you to try the go command itself. Please try the 1.11rc1 build for module functionality.
I am going to close this due to the reasons above. Feel free to comment if you disagree. Thank you.
With go 1.10.3 and vgo devel +1b870077c8, vgo vet outputs
so many "possible misuse of unsafe.Pointer". So I disable
vgo vet temporary.
See golang/go#26997
With go 1.10.3 and vgo devel +1b870077c8, vgo vet outputs so many
"possible misuse of unsafe.Pointer". So I disable vgo vet temporary.
See golang/go#26997
What version of Go are you using (
go version
)?go
:vgo
:Does this issue reproduce with the latest release?
yes. installed by
go get -u golang.org/x/vgo
.What operating system and processor architecture are you using (
go env
)?go
:vgo
:What did you do?
ran the
vgo vet
command with an empty main package.https://play.golang.org/p/Z_1CTqPibWJ
main.go
:package main
What did you expect to see?
same as
go vet
:What did you see instead?
System details
The text was updated successfully, but these errors were encountered: