From 964fb3ca768756fbc58d1d9312c53886964ae608 Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Tue, 27 Jul 2021 18:11:03 -0700 Subject: Use go:build directives in generated files. Build constraints are now inferred from go:build directives rather than +build directives. +build directives are still emitted in generated files as required in Go 1.16 and earlier. Note that go/build/constraint was added in Go 1.16, so gVisor now requires Go 1.16. PiperOrigin-RevId: 387240779 --- tools/go_marshal/gomarshal/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/go_marshal/gomarshal/BUILD') diff --git a/tools/go_marshal/gomarshal/BUILD b/tools/go_marshal/gomarshal/BUILD index c2747d94c..aaa203115 100644 --- a/tools/go_marshal/gomarshal/BUILD +++ b/tools/go_marshal/gomarshal/BUILD @@ -18,5 +18,5 @@ go_library( visibility = [ "//:sandbox", ], - deps = ["//tools/tags"], + deps = ["//tools/constraintutil"], ) -- cgit v1.2.3