Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workspace: register nogo separately (#7719)
In recent version of rules_go, `go_register_nogo` was changed to a macro wrapper which apply a sane default for `includes` and `excludes` packages to run nogo over. However, the `go_register_nogo` inside `go_register_toolchains` that we are currently using was not the new macro wrapper, but the original repository rule. As a result, we are running nogo validation actions over external packages and made our build slower, especially when using local execution. Register nogo separately using the macro wrapper so we don't need to validate nogo for external `go_repository` targets. Upstream discussion: bazel-contrib/rules_go#4137
- Loading branch information