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
All Go rules have an importpath attribute, which is specified explicitly with the importpath attribute or is derived from go_prefix. importpath is used to determine output paths and is used by the experimental go_path rule.
We'd like to deprecate go_prefix (#721). In repositories without go_prefix, importpath is effectively mandatory, which is surprising for go_binary and go_test, since they can't be imported. When importpath isn't specified explicitly for these, we should create a dummy path. We should also report an error when rules without a real importpath are used in go_path.
The text was updated successfully, but these errors were encountered:
All Go rules have an
importpath
attribute, which is specified explicitly with theimportpath
attribute or is derived fromgo_prefix
.importpath
is used to determine output paths and is used by the experimentalgo_path
rule.We'd like to deprecate
go_prefix
(#721). In repositories withoutgo_prefix
,importpath
is effectively mandatory, which is surprising forgo_binary
andgo_test
, since they can't be imported. Whenimportpath
isn't specified explicitly for these, we should create a dummy path. We should also report an error when rules without a realimportpath
are used ingo_path
.The text was updated successfully, but these errors were encountered: