From 46cd9a9b68e56f6f0c6bf301bd5cc0fdb0db79f7 Mon Sep 17 00:00:00 2001 From: tfrench Date: Tue, 26 Sep 2023 18:53:10 +0000 Subject: [PATCH] fix linkmode bug --- go/private/rules/binary.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/private/rules/binary.bzl b/go/private/rules/binary.bzl index 7184e2154d..d3d545cd9b 100644 --- a/go/private/rules/binary.bzl +++ b/go/private/rules/binary.bzl @@ -386,7 +386,7 @@ _go_binary_kwargs = { ), "linkmode": attr.string( default = "auto", - values = ["auto"] + LINKMODES, + # values = ["auto"] + LINKMODES, doc = """Determines how the binary should be built and linked. This accepts some of the same values as `go build -buildmode` and works the same way.