You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I'm missing something, but I can't seem to find an option to define e.g. -s -w -buildmode=pie globally at the root of a project, and preferablt on a per-arch basis.
In that discussion there was a suggestion of a hacky workaround of wrapping the original go_binary and patching Gazelle, but that smells like a maintenance nightmare to me. 😉
The text was updated successfully, but these errors were encountered:
Maybe I'm missing something, but I can't seem to find an option to define e.g.
-s -w -buildmode=pie
globally at the root of a project, and preferablt on a per-arch basis.There's a discussion of the issue in 2021 here: bazelbuild/rules_go#2894
In that discussion there was a suggestion of a hacky workaround of wrapping the original
go_binary
and patching Gazelle, but that smells like a maintenance nightmare to me. 😉The text was updated successfully, but these errors were encountered: