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
`bazel run //tools:lint_{check,fix}` required updating rules_go to
0.39.1 to work under Bazel 7.
The previous rules_go version 0.38.1 caused the following error:
```txt
$ ./test_lint.sh
ERROR: .../external/io_bazel_rules_go/BUILD.bazel:71:16:
in (an implicit dependency) attribute of go_context_data rule
@@io_bazel_rules_go//:go_context_data:
in $whitelist_function_transition attribute of go_context_data rule
@@io_bazel_rules_go//:go_context_data: package group
'@@bazel_tools//tools/whitelists/function_transition_whitelist:function_transition_whitelist'
is misplaced here (they are only allowed in the visibility attribute)
ERROR: .../external/io_bazel_rules_go/BUILD.bazel:71:16:
Analysis of target '@@io_bazel_rules_go//:go_context_data' failed
ERROR: Analysis of target '//tools:lint_check' failed;
build aborted: Analysis failed
```
0 commit comments