vugu / vgrun

Command line Vugu runner utility
MIT License
4 stars 3 forks source link

Update dependencies for Go 1.18 #6

Closed alexrudd closed 1 year ago

alexrudd commented 2 years ago

Hit an issue with the version of golang.org/x/sys being used while following the Vugo getting started guide (on darwin using Go 1.18). The fix appears to be to just update this package.

I've taken this as an opportunity to update all packages with go get -u ./... though happy to scope it down.

The errors I was seeing:

go install github.com/vugu/vgrun@latest
# golang.org/x/sys/unix
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.1_13.go:40:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
../.asdf/installs/golang/1.18/packages/pkg/mod/golang.org/x/sys@v0.0.0-20200427175716-29b57079015a/unix/zsyscall_darwin_amd64.go:121:3: too many errors
bradleypeabody commented 2 years ago

Hi Alex, thanks for this. Can you please run go mod tidy on this to ensure all of the dependencies there are necessary? Otherwise great and I'll merge as soon as that's done.

alexrudd commented 2 years ago

Good spot! Have tidied dependencies

bradleypeabody commented 1 year ago

Sorry I lost track of this, merging.