aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2021-02-04 13:50:09 -0800
committerGitHub <noreply@github.com>2021-02-04 13:50:09 -0800
commit23a562dfb3a9986a066a1341c2cfc9e87a8fa164 (patch)
tree6fa40d9405919f5e36bb33ec5001c3b025eb3832 /pkg
parent9a327581917420b67d86559b3caeff52f5813117 (diff)
build/gvisor: fix compile time warning (#2426)
$ bazel build --features=race //runsc:runsc-race ... WARNING: --features=race is no longer supported. Use --@io_bazel_rules_go//go/config:race instead.
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 f307668ca..67a92c2e0 100644
--- a/pkg/build/gvisor.go
+++ b/pkg/build/gvisor.go
@@ -31,7 +31,7 @@ func (gvisor gvisor) build(params *Params) error {
target := "//runsc:runsc"
race := raceEnabled(config)
if race {
- args = append(args, "--features=race")
+ args = append(args, "--@io_bazel_rules_go//go/config:race")
target = "//runsc:runsc-race"
}
if coverageEnabled(config) {