mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Internal change.
PiperOrigin-RevId: 702043346
This commit is contained in:
@@ -38,6 +38,7 @@ go_library(
|
||||
secbench_test(
|
||||
name = "filter_bench_test",
|
||||
srcs = ["filter_bench_test.go"],
|
||||
features = ["no_default_linker_script"],
|
||||
deps = [
|
||||
":filter",
|
||||
"//pkg/abi/linux",
|
||||
|
||||
@@ -14,6 +14,6 @@ def benchmark_test(name, tags = [], **kwargs):
|
||||
# Benchmark test binaries are built inside a bazel docker container in
|
||||
# OSS but are executed directly on the host. Use static binaries to
|
||||
# avoid hitting glibc incompatibility.
|
||||
static = True,
|
||||
features = ["fully_static_link"],
|
||||
**kwargs
|
||||
)
|
||||
|
||||
@@ -10,7 +10,7 @@ go_binary(
|
||||
srcs = [
|
||||
"main.go",
|
||||
],
|
||||
static = True,
|
||||
features = ["fully_static_link"],
|
||||
deps = [
|
||||
"//pkg/buffer",
|
||||
"//pkg/log",
|
||||
|
||||
@@ -44,9 +44,9 @@ go_binary(
|
||||
# `:ioctl_hook`'s actual output file.
|
||||
":ioctl_hook", # keep
|
||||
],
|
||||
features = ["fully_static_link"],
|
||||
# Disable nogo tests because this has C++ dependencies.
|
||||
nogo = False,
|
||||
static = True,
|
||||
visibility = [
|
||||
"//:sandbox",
|
||||
],
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ pkg_tar(
|
||||
go_binary(
|
||||
name = "webhook",
|
||||
srcs = ["main.go"],
|
||||
features = ["fully_static_link"],
|
||||
pure = "on",
|
||||
static = "on",
|
||||
deps = ["//webhook/pkg/cli"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user