summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-06-11 17:32:42 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-11 17:34:02 -0700
commitfbe41987c999729ceec6851ff64acc9013a0c602 (patch)
tree201281df520fedd51ec932321e22b38097b4221d
parent4c0a8bdaf5e21ac85a4275e9008e5cd4294f45f3 (diff)
Enable nogo again
PiperOrigin-RevId: 316011323
-rw-r--r--tools/defs.bzl3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/defs.bzl b/tools/defs.bzl
index 0bd468786..40afcdb79 100644
--- a/tools/defs.bzl
+++ b/tools/defs.bzl
@@ -96,8 +96,7 @@ def go_imports(name, src, out):
cmd = ("$(location @org_golang_x_tools//cmd/goimports:goimports) $(SRCS) > $@"),
)
-# TODO(b/158696872): Enable nogo by default.
-def go_library(name, srcs, deps = [], imports = [], stateify = True, marshal = False, marshal_debug = False, nogo = False, **kwargs):
+def go_library(name, srcs, deps = [], imports = [], stateify = True, marshal = False, marshal_debug = False, nogo = True, **kwargs):
"""Wraps the standard go_library and does stateification and marshalling.
The recommended way is to use this rule with mostly identical configuration as the native