Skip to content

Bump Go to 1.17#4584

Merged
bk2204 merged 2 commits into
git-lfs:mainfrom
dennisameling:go-1.17
Aug 17, 2021
Merged

Bump Go to 1.17#4584
bk2204 merged 2 commits into
git-lfs:mainfrom
dennisameling:go-1.17

Conversation

@dennisameling

Copy link
Copy Markdown
Contributor

Go 1.17 has been released. One of the new features is that it now supports Windows ARM64 🎉 I'd like to create a PR for that, but before I do, here's a separate PR for bumping Go to 1.17 first.

There's new //go:build lines - Go now understands //go:build lines and prefers them over // +build lines:

gofmt (and go fmt) now synchronizes //go:build lines with // +build lines. If a file only has // +build lines, they will be moved to the appropriate location in the file, and matching //go:build lines will be added. Otherwise, // +build lines will be overwritten based on any existing //go:build lines. For more information, see https://golang.org/design/draft-gobuild.

This PR adds the lines that make fmt has created. For backward compatibility reasons, the new //go:build lines were added and kept in sync with // +build as mentioned above.

@bk2204 bk2204 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for the patch, and welcome to Git LFS! This looks fine to me, and assuming it passes CI, I'll go ahead and merge it.

@dennisameling

Copy link
Copy Markdown
Contributor Author

@bk2204

bk2204 commented Aug 17, 2021

Copy link
Copy Markdown
Member

I've kicked a fresh run off. Normally that test is not flaky, but hopefully it will pass this time.

@bk2204
bk2204 merged commit 314c30d into git-lfs:main Aug 17, 2021
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.

2 participants