aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2023-02-17 10:39:46 -0800
committerGitHub <noreply@github.com>2023-02-17 18:39:46 +0000
commit3222c2ed23bb14945c7040d3932b71c276fd2f6a (patch)
treea48a92a1e0eefd548ed219aa7bb0c28506fee712 /pkg
parentff4c959e9831a40beb55e3d320896f09bc7f8b70 (diff)
gvisor: fix race builds (#3704)
Now we need to use the race config to compile gVisor with the race detector.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/build/gvisor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/build/gvisor.go b/pkg/build/gvisor.go
index 89b583db6..f4fc814f8 100644
--- a/pkg/build/gvisor.go
+++ b/pkg/build/gvisor.go
@@ -35,7 +35,7 @@ func (gvisor gvisor) build(params Params) (ImageDetails, error) {
target := "//runsc:runsc"
if config.Race {
- args = append(args, "--@io_bazel_rules_go//go/config:race")
+ args = append(args, "--config=race")
target = "//runsc:runsc-race"
}
if config.Coverage {