From c0a70cd70c085721d6046e3b5abe2c207a952ba2 Mon Sep 17 00:00:00 2001 From: Etienne Perot Date: Thu, 8 Jun 2023 16:38:56 -0700 Subject: [PATCH] Internal change. PiperOrigin-RevId: 538923714 --- runsc/BUILD | 8 ++------ runsc/main.go | 3 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/runsc/BUILD b/runsc/BUILD index a79241cb5..183a259e2 100644 --- a/runsc/BUILD +++ b/runsc/BUILD @@ -7,9 +7,7 @@ package( go_binary( name = "runsc", - srcs = [ - "main.go", - ], + srcs = ["main.go"], pure = True, tags = ["staging"], visibility = [ @@ -37,9 +35,7 @@ go_binary( # [1] https://github.com/bazelbuild/bazel/issues/1698 go_binary( name = "runsc-race", - srcs = [ - "main.go", - ], + srcs = ["main.go"], gotags = ["lockdep"], static = True, visibility = [ diff --git a/runsc/main.go b/runsc/main.go index 1f89dd187..6de99f6bf 100644 --- a/runsc/main.go +++ b/runsc/main.go @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build go1.1 +// +build go1.1 + // Binary runsc implements the OCI runtime interface. package main