Enable nogo again

PiperOrigin-RevId: 316011323
This commit is contained in:
Fabricio Voznika
2020-06-11 17:34:02 -07:00
committed by gVisor bot
parent 4c0a8bdaf5
commit fbe41987c9
+1 -2
View File
@@ -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