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

ws: bring back support for go1.16 #172

Merged
merged 1 commit into from
May 18, 2023
Merged

Conversation

ZekeLu
Copy link
Contributor

@ZekeLu ZekeLu commented May 18, 2023

Running go1.16 build . failed with:

//go:build comment without // +build comment

Fixes chromedp/chromedp#1310.

Running `go1.16 build .` failed with:

    //go:build comment without // +build comment
@cristaloleg
Copy link
Collaborator

Hi, any reasons to live on 1.16 ? That's an old version.

@ZekeLu
Copy link
Contributor Author

ZekeLu commented May 18, 2023

Hi, chromedp is a module used by many users. Some of the users just can't upgrade to go1.17+. In fact, we have tried to drop support for go1.16, but later we decided to bring it back (see this commit chromedp/chromedp@5aeb67f).

@cristaloleg cristaloleg merged commit c000e81 into gobwas:master May 18, 2023
@cristaloleg
Copy link
Collaborator

@ZekeLu
Copy link
Contributor Author

ZekeLu commented May 18, 2023

Wow, so quick! Thank you!

BTW, I saw the release note for v1.2 states that this package will drop support for go1.16. May I know why? Are you planning to do something new that it's a big burden to support go1.16?

@cristaloleg
Copy link
Collaborator

Well, we had a plan to drop support of old versions (there are a few places from what I remember). But after this PR I think we should postpone it.

@ZekeLu ZekeLu deleted the build-flag branch May 18, 2023 07:32
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.

Failed to build with Go 1.16
2 participants