]> Cypherpunks repositories - gostls13.git/commit
cmd/go/testdata/script: add a test case for issue #68658
authorMichael Matloob <matloob@golang.org>
Thu, 29 Aug 2024 18:11:15 +0000 (14:11 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 29 Aug 2024 20:16:26 +0000 (20:16 +0000)
commitffb3e574012ce9d3d5193d7b8df135189b8a6671
treee885e1a4c6072abecbfb2a8355c270b7c5bd92d3
parent00c48ad6155a209841dbfb6154f650c622aaa10b
cmd/go/testdata/script: add a test case for issue #68658

Test that go files with a //go:build fileVersion earlier than go1.21
don't downgrade past go1.21.

Fixes #68658

Change-Id: If16a1b3867ad2cfa8867e60995f7d1eb801306e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/609436
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/testdata/script/build_issue68658.txt [new file with mode: 0644]