mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Bump gVisor build tags to go1.19
Go's dev.typeparams branch already claims to be Go 1.18, so our !go1.18 build tags breaking testing gVisor with that branch. Normally I would not want to bump the build tags this early, but I plan to extend checklinkname to check the assumptions in these files and remove the build tags ASAP. So we just go ahead and bump the tags until then to unblock testing. PiperOrigin-RevId: 389037239
This commit is contained in:
committed by
gVisor bot
parent
caf9403f62
commit
99325baf5d
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build go1.13 && !go1.18
|
||||
// +build go1.13,!go1.18
|
||||
//go:build go1.13 && !go1.19
|
||||
// +build go1.13,!go1.19
|
||||
|
||||
// //go:linkname directives type-checked by checklinkname. Any other
|
||||
// non-linkname assumptions outside the Go 1 compatibility guarantee should
|
||||
|
||||
+2
-2
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build go1.12 && !go1.18
|
||||
// +build go1.12,!go1.18
|
||||
//go:build go1.12 && !go1.19
|
||||
// +build go1.12,!go1.19
|
||||
|
||||
// Check type signatures when updating Go version.
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build amd64 && go1.8 && !go1.18 && go1.1
|
||||
// +build amd64,go1.8,!go1.18,go1.1
|
||||
//go:build amd64 && go1.8 && !go1.19 && go1.1
|
||||
// +build amd64,go1.8,!go1.19,go1.1
|
||||
|
||||
// //go:linkname directives type-checked by checklinkname. Any other
|
||||
// non-linkname assumptions outside the Go 1 compatibility guarantee should
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build arm64 && go1.8 && !go1.18 && go1.1
|
||||
// +build arm64,go1.8,!go1.18,go1.1
|
||||
//go:build arm64 && go1.8 && !go1.19 && go1.1
|
||||
// +build arm64,go1.8,!go1.19,go1.1
|
||||
|
||||
// //go:linkname directives type-checked by checklinkname. Any other
|
||||
// non-linkname assumptions outside the Go 1 compatibility guarantee should
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build go1.13 && !go1.18
|
||||
// +build go1.13,!go1.18
|
||||
//go:build go1.13 && !go1.19
|
||||
// +build go1.13,!go1.19
|
||||
|
||||
// When updating the build constraint (above), check that syncMutex matches the
|
||||
// standard library sync.Mutex definition.
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build go1.13 && !go1.18
|
||||
// +build go1.13,!go1.18
|
||||
//go:build go1.13 && !go1.19
|
||||
// +build go1.13,!go1.19
|
||||
|
||||
// //go:linkname directives type-checked by checklinkname. Any other
|
||||
// non-linkname assumptions outside the Go 1 compatibility guarantee should
|
||||
|
||||
Reference in New Issue
Block a user