rules_go icon indicating copy to clipboard operation
rules_go copied to clipboard

io_bazel_stardoc not a module dependency

Open pcj opened this issue 1 month ago • 1 comments

I was experimenting with doc generation for rules_go based on the MODULE.bazel file, and I discovered that the load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc") is only provided by WORKSPACE, not MODULE.bazel.

I haven't researched if this is intended.

pcj avatar Nov 24 '25 02:11 pcj

Not intended I think. We need to invest some time in updating all our workflows to MODULE.bazel and dropping dev dependencies from WORKSPACE.

jayconrod avatar Nov 24 '25 16:11 jayconrod

There's more to do for the bzLmod migration but this particular issue is fixed in https://github.com/bazel-contrib/rules_go/commit/42f3f48d291b155abd9152aff04091c873ee52d7

dzbarsky avatar Dec 12 '25 00:12 dzbarsky