Bump build constraints to Go 1.18

These are bumped to allow early testing of Go 1.17. Use will be audited closer
to the 1.17 release.

PiperOrigin-RevId: 358278615
This commit is contained in:
Michael Pratt
2021-02-18 15:30:58 -08:00
committed by gVisor bot
parent ec20f4f38e
commit f80a857a4f
12 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
// +build go1.13
// +build !go1.17
// +build !go1.18
// Check type signatures when updating Go version.
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
// +build go1.12
// +build !go1.17
// +build !go1.18
// Check type signatures when updating Go version.
+1 -1
View File
@@ -14,7 +14,7 @@
// +build amd64
// +build go1.8
// +build !go1.17
// +build !go1.18
#include "textflag.h"
+1 -1
View File
@@ -14,7 +14,7 @@
// +build arm64
// +build go1.8
// +build !go1.17
// +build !go1.18
#include "textflag.h"
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
// +build go1.12
// +build !go1.17
// +build !go1.18
// Check go:linkname function signatures when updating Go version.
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
// +build go1.12
// +build !go1.17
// +build !go1.18
// Check go:linkname function signatures when updating Go version.
@@ -13,7 +13,7 @@
// limitations under the License.
// +build go1.12
// +build !go1.17
// +build !go1.18
// Check go:linkname function signatures when updating Go version.
+1 -1
View File
@@ -4,7 +4,7 @@
// license that can be found in the LICENSE file.
// +build go1.14
// +build !go1.17
// +build !go1.18
// Check go:linkname function signatures when updating Go version.
+1 -1
View File
@@ -4,7 +4,7 @@
// license that can be found in the LICENSE file.
// +build go1.13
// +build !go1.17
// +build !go1.18
// When updating the build constraint (above), check that syncMutex matches the
// standard library sync.Mutex definition.
+4 -2
View File
@@ -4,9 +4,10 @@
// license that can be found in the LICENSE file.
// +build go1.13
// +build !go1.17
// +build !go1.18
// Check function signatures and constants when updating Go version.
// Check go:linkname function signatures, type definitions, and constants when
// updating Go version.
package sync
@@ -95,6 +96,7 @@ func MapKeyHasher(m interface{}) func(unsafe.Pointer, uintptr) uintptr {
return mtyp.hasher
}
// maptype is equivalent to the beginning of runtime.maptype.
type maptype struct {
size uintptr
ptrdata uintptr
@@ -14,7 +14,7 @@
// +build linux,amd64 linux,arm64
// +build go1.12
// +build !go1.17
// +build !go1.18
// Check go:linkname function signatures when updating Go version.
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
// +build go1.9
// +build !go1.17
// +build !go1.18
// Check go:linkname function signatures when updating Go version.