diff --git a/extras/bindata.bzl b/extras/bindata.bzl index 06cd054c6f..40c119f9a4 100644 --- a/extras/bindata.bzl +++ b/extras/bindata.bzl @@ -76,7 +76,7 @@ bindata = rule( "extra_args": attr.string_list(), "_bindata": attr.label( executable = True, - cfg = "host", + cfg = "exec", default = "@com_github_kevinburke_go_bindata//go-bindata:go-bindata", ), "_go_context_data": attr.label( diff --git a/extras/embed_data.bzl b/extras/embed_data.bzl index 212c4d50cc..fb3519e23a 100644 --- a/extras/embed_data.bzl +++ b/extras/embed_data.bzl @@ -135,7 +135,7 @@ go_embed_data = rule( "_embed": attr.label( default = "//go/tools/builders:embed", executable = True, - cfg = "host", + cfg = "exec", ), "_go_context_data": attr.label( default = "//:go_context_data",