Skip to content
New issue

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

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

Already on GitHub? # to your account

linux go build failed #68

Open
QGB opened this issue May 12, 2023 · 4 comments
Open

linux go build failed #68

QGB opened this issue May 12, 2023 · 4 comments

Comments

@QGB
Copy link

QGB commented May 12, 2023

# go build
/go/pkg/mod/github.com/mattn/go-runewidth@v0.0.14/runewidth.go:7:2: //go:build comment without // +build comment

@mattn
Copy link
Owner

mattn commented May 12, 2023

//go:build is not in the line.

@witherspoonwd
Copy link

# go build
/go/pkg/mod/github.com/mattn/go-runewidth@v0.0.14/runewidth.go:7:2: //go:build comment without // +build comment

did you ever figure out what was causing this? because mattn is right, the go:build is not in that line.

@witherspoonwd
Copy link

leaving this note for antiquity. the problem on my end seemed to have to do with trying to build on ubuntu, i managed to get it to build on Windows. seems weird.

@dustinsoftware
Copy link

I had this issue, updating to go 1.21.4 resolved the build for me

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants