Skip to content

Bump minimum required version of go

Cecylia Bocovich requested to merge cohosh/snowflake:bump-go-version into main

The version of x/sys we're using requires go1.17 or later

I got the following errors when trying to update Snowflake in Tor Browser:

Starting build (script: build): 2023-06-19 17:54:17
# 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:2271: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)

This fixes those errors.

Merge request reports