bazelbuild / rules_go

Go rules for Bazel
Apache License 2.0
1.37k stars 651 forks source link

make `go_reset_target` public #3965

Closed tyler-french closed 1 month ago

tyler-french commented 3 months ago

go_reset_target is helpful when certain plugins or tool attributes to rules can't build under certain configurations. For example, many thrift plugins fail to build when a dependency of a go_binary with c-shared instrumentation.

To alleviate this issue, you can pass the tool to go_reset_target.