Files
gvisor/tools/rules_go_symbols.patch
2024-01-25 18:01:11 -08:00

15 lines
534 B
Diff

diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl
index 1283776a..bc868296 100644
--- a/go/private/rules/test.bzl
+++ b/go/private/rules/test.bzl
@@ -124,9 +124,6 @@ def _go_test_impl(ctx):
)
test_gc_linkopts = gc_linkopts(ctx)
- if not go.mode.debug:
- # Disable symbol table and DWARF generation for test binaries.
- test_gc_linkopts.extend(["-s", "-w"])
# Link in the run_dir global for bzltestutil.
# We add "+initfirst/" to the package path so the package is initialized