Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go to v1.18.3 #57

Merged
merged 2 commits into from
Jun 16, 2022
Merged

Update Go to v1.18.3 #57

merged 2 commits into from
Jun 16, 2022

Conversation

minamijoyo
Copy link
Owner

No description provided.

The golangci-lint failed to run in Go 1.18.

```
$ golangci-lint run ./...
WARN [runner] Can't run linter goanalysis_metalinter: buildir: failed to load package unix: could not load export data: no export data for "golang.org/x/sys/unix"
ERRO Running error: 1 error occurred:
        * can't run linter goanalysis_metalinter: buildir: failed to load package unix: could not load export data: no export data for "golang.org/x/sys/unix"
```

It looks related to the following issue:
golang/go#49219

To fix it, update golang.org/x/sys/unix to the latest

```
$ go get -u golang.org/x/sys/unix
```
@minamijoyo minamijoyo merged commit 269337d into master Jun 16, 2022
@minamijoyo minamijoyo deleted the update-go-to-v1.18.3 branch June 16, 2022 02:10
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