gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/rules_go_symbols.patch (about) 1 diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl 2 index 1283776a..bc868296 100644 3 --- a/go/private/rules/test.bzl 4 +++ b/go/private/rules/test.bzl 5 @@ -124,9 +124,6 @@ def _go_test_impl(ctx): 6 ) 7 8 test_gc_linkopts = gc_linkopts(ctx) 9 - if not go.mode.debug: 10 - # Disable symbol table and DWARF generation for test binaries. 11 - test_gc_linkopts.extend(["-s", "-w"]) 12 13 # Link in the run_dir global for bzltestutil. 14 # We add "+initfirst/" to the package path so the package is initialized