summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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