Skip to content

Conversation

@cjdelisle
Copy link

  1. upgrade sys to fix:
    ../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
  2. remove unused var preventing compile
  3. style: remove redundant break statements (switches in go don't default fallthrough)

3 was not an error, but go-staticcheck was complaining.

../../go/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
2. remove unused var preventing compile
3. style: remove redundant break statements (switches in go don't default fallthrough)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant