Skip to content

Commit

Permalink
Make one label repository-absolute again (#3046)
Browse files Browse the repository at this point in the history
Changing this particular label to the str(Label(...)) pattern does not
behave as expected (bazelbuild/bazel#14590).
It is thus safer to revert back to the old form for now and instead rely
on patches in a future renaming of io_bazel_rules_go to rules_go for the
BCR.
  • Loading branch information
fmeum authored Jan 18, 2022
1 parent 979c3c6 commit 75fdf4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/private/nogo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

DEFAULT_NOGO = str(Label("//:default_nogo"))
DEFAULT_NOGO = "@io_bazel_rules_go//:default_nogo"

def _go_register_nogo_impl(ctx):
ctx.template(
Expand Down

0 comments on commit 75fdf4c

Please sign in to comment.