Skip to content

Commit 395c0ac

Browse files
committed
Internal change.
PiperOrigin-RevId: 702043346
1 parent 688ead8 commit 395c0ac

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

runsc/boot/filter/BUILD

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ go_library(
3838
secbench_test(
3939
name = "filter_bench_test",
4040
srcs = ["filter_bench_test.go"],
41+
features = ["no_default_linker_script"],
4142
deps = [
4243
":filter",
4344
"//pkg/abi/linux",

test/benchmarks/defs.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ def benchmark_test(name, tags = [], **kwargs):
1414
# Benchmark test binaries are built inside a bazel docker container in
1515
# OSS but are executed directly on the host. Use static binaries to
1616
# avoid hitting glibc incompatibility.
17-
static = True,
17+
features = ["fully_static_link"],
1818
**kwargs
1919
)

tools/gvisor2pcap/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_binary(
1010
srcs = [
1111
"main.go",
1212
],
13-
static = True,
13+
features = ["fully_static_link"],
1414
deps = [
1515
"//pkg/buffer",
1616
"//pkg/log",

tools/ioctl_sniffer/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ go_binary(
4444
# `:ioctl_hook`'s actual output file.
4545
":ioctl_hook", # keep
4646
],
47+
features = ["fully_static_link"],
4748
# Disable nogo tests because this has C++ dependencies.
4849
nogo = False,
49-
static = True,
5050
visibility = [
5151
"//:sandbox",
5252
],

webhook/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pkg_tar(
3030
go_binary(
3131
name = "webhook",
3232
srcs = ["main.go"],
33+
features = ["fully_static_link"],
3334
pure = "on",
34-
static = "on",
3535
deps = ["//webhook/pkg/cli"],
3636
)

0 commit comments

Comments
 (0)