diff --git a/package/BUILD b/package/BUILD index 3513c2f..594c4e5 100644 --- a/package/BUILD +++ b/package/BUILD @@ -1,12 +1,12 @@ subinclude("//:version") -filegroup( - name = "architectures", - srcs = ["architectures.build_defs"], - visibility = ["PUBLIC"], -) - -subinclude(":architectures") +architectures = [ + "darwin_amd64", + "darwin_arm64", + "freebsd_amd64", + "linux_amd64", + "linux_arm64", +] def cross_compile(version, arch): return build_rule( diff --git a/package/architectures.build_defs b/package/architectures.build_defs deleted file mode 100644 index 1a526ae..0000000 --- a/package/architectures.build_defs +++ /dev/null @@ -1,7 +0,0 @@ -architectures = [ - "darwin_amd64", - "darwin_arm64", - "freebsd_amd64", - "linux_amd64", - "linux_arm64", -] diff --git a/third_party/go/BUILD b/third_party/go/BUILD index 389f84d..59492e8 100644 --- a/third_party/go/BUILD +++ b/third_party/go/BUILD @@ -1,4 +1,4 @@ -subinclude("///go//build_defs:go", "//package:architectures") +subinclude("///go//build_defs:go") go_toolchain( name = "toolchain",