From 7d1b7daf7e89c99899fc46187bcb1f3a3bcab7fb Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 23 Apr 2020 10:19:23 -0700 Subject: [PATCH] Disable nogo because it breaks Go 1.13 Even though the default build option is to use 1.14, we want to be want to keep the ability to target different Go versions for testing and in case the new release has bugs. PiperOrigin-RevId: 308078876 --- tools/defs.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/defs.bzl b/tools/defs.bzl index 6a224d7d5..33240e7f4 100644 --- a/tools/defs.bzl +++ b/tools/defs.bzl @@ -92,7 +92,7 @@ def go_imports(name, src, out): cmd = ("$(location @org_golang_x_tools//cmd/goimports:goimports) $(SRCS) > $@"), ) -def go_library(name, srcs, deps = [], imports = [], stateify = True, marshal = False, marshal_debug = False, nogo = True, **kwargs): +def go_library(name, srcs, deps = [], imports = [], stateify = True, marshal = False, marshal_debug = False, nogo = False, **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