finalizers icon indicating copy to clipboard operation
finalizers copied to clipboard

Bump sys module to fix darwin_arm64 build errors

Open yankcrime opened this issue 3 years ago • 0 comments

This currently fails to build on Apple Silicon-based Macs with an error along the lines of the following:

/Users/nick/src/golang/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
/Users/nick/src/golang/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
/Users/nick/src/golang/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:121:3: too many errors

Bumping the sys module fixes the issue and builds successfully.

yankcrime avatar Jul 14 '22 09:07 yankcrime