From dbe29f518185542f302f34d923060990dfffd7a4 Mon Sep 17 00:00:00 2001 From: Trey Ivy Date: Fri, 11 Oct 2024 13:57:46 +0000 Subject: [PATCH 1/2] add cgo flag to bb_portal binary --- cmd/bb_portal/BUILD.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/bb_portal/BUILD.bazel b/cmd/bb_portal/BUILD.bazel index 630419b..df4ce1d 100644 --- a/cmd/bb_portal/BUILD.bazel +++ b/cmd/bb_portal/BUILD.bazel @@ -26,6 +26,7 @@ go_library( go_binary( name = "bb_portal", + cgo = True, embed = [":bb_portal_lib"], visibility = ["//visibility:public"], ) From 94a2d84a0b5df60a2158560b6759e9b6d999dbe4 Mon Sep 17 00:00:00 2001 From: Trey Ivy Date: Fri, 11 Oct 2024 14:24:00 +0000 Subject: [PATCH 2/2] keep --- cmd/bb_portal/BUILD.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bb_portal/BUILD.bazel b/cmd/bb_portal/BUILD.bazel index df4ce1d..fbc23cc 100644 --- a/cmd/bb_portal/BUILD.bazel +++ b/cmd/bb_portal/BUILD.bazel @@ -26,7 +26,7 @@ go_library( go_binary( name = "bb_portal", - cgo = True, + cgo = True, # keep embed = [":bb_portal_lib"], visibility = ["//visibility:public"], )