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
Describe the bug
Glow does not build after vendoring dependencies.
It could be fixed by updating the lang level in go.mod and updating the lock file.
Setup
Please complete the following information along with version numbers, if applicable.
OS: linux 6.1.74-x86_64
Go: go version go1.21.7 linux/amd64
To Reproduce
Steps to reproduce the behavior:
Run go mod vendor
Run go build
Observe the error message.
$ go mod vendor
$ go build
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_linux.go:1018:20: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_linux.go:2297:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
Expected behavior
The package should build just as it does without vendored dependencies.
The text was updated successfully, but these errors were encountered:
st3iny
changed the title
Does not build with vendored depdencies
Does not build cleanly with vendored depdencies
Mar 17, 2024
Describe the bug
Glow does not build after vendoring dependencies.
It could be fixed by updating the lang level in go.mod and updating the lock file.
Setup
Please complete the following information along with version numbers, if applicable.
To Reproduce
Steps to reproduce the behavior:
go mod vendor
go build
Expected behavior
The package should build just as it does without vendored dependencies.
The text was updated successfully, but these errors were encountered: