diff options
author | Tamir Duberstein <tamird@google.com> | 2021-02-02 14:49:55 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-02 14:53:12 -0800 |
commit | fb422db7065480f6ad2b23794ac9a16596d298c6 (patch) | |
tree | ee96a0bd1e73645bc01ad7b658c2181ee35beece /tools/rules_go_symbols.patch | |
parent | ff8b308a30f46993f31f398c6e8d5b3bad03d865 (diff) |
Update go-tools to 2020.2.1
...and a bunch of other things as I worked through the rot. Notably:
- Upgrade to bazel 4.0.0
- Upgrade to Go 1.15.7
Remove go_branch stderr suppression; this made it quite difficult to see
what was failing while developing this patch.
PiperOrigin-RevId: 355257833
Diffstat (limited to 'tools/rules_go_symbols.patch')
-rw-r--r-- | tools/rules_go_symbols.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/rules_go_symbols.patch b/tools/rules_go_symbols.patch index 5e1e87084..46767f169 100644 --- a/tools/rules_go_symbols.patch +++ b/tools/rules_go_symbols.patch @@ -2,13 +2,13 @@ diff --git a/go/private/rules/test.bzl b/go/private/rules/test.bzl index 17516ad7..76b6c68c 100644 --- a/go/private/rules/test.bzl +++ b/go/private/rules/test.bzl -@@ -121,9 +121,6 @@ def _go_test_impl(ctx): +@@ -117,9 +117,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"]) - - # Now compile the test binary itself - test_library = GoLibrary( + + # Link in the run_dir global for bzltestutil + test_gc_linkopts.extend(["-X", "github.com/bazelbuild/rules_go/go/tools/bzltestutil.RunDir=" + run_dir]) |