[build] Add fuchsia_builder_group target

This is a top-level target which provides an abstraction layer for the
infrastructure to perform builds.

Bug: 112403
Change-Id: I8997771d9d8aadfb012a4c2e461a725b54006c09
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..73c9edc
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,15 @@
+# Copyright 2023 The Fuchsia Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+load(
+    "@fuchsia_infra//infra:infra.bzl",
+    "fuchsia_builder_group",
+)
+
+fuchsia_builder_group(
+    name = "infra",
+    build_only = [
+        "//src/hello_rust:pkg",
+    ],
+)
diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel
index a6287e6..4764735 100644
--- a/WORKSPACE.bazel
+++ b/WORKSPACE.bazel
@@ -27,6 +27,11 @@
     path = "third_party/sdk-integration/bazel_rules_fuchsia",
 )
 
+local_repository(
+    name = "fuchsia_infra",
+    path = "third_party/fuchsia-infra-bazel-rules",
+)
+
 load(
     "@rules_fuchsia//fuchsia:deps.bzl",
     "fuchsia_clang_repository",
diff --git a/src/hello_rust/BUILD.bazel b/src/hello_rust/BUILD.bazel
index afcb4b3..1cfc844 100644
--- a/src/hello_rust/BUILD.bazel
+++ b/src/hello_rust/BUILD.bazel
@@ -54,10 +54,10 @@
 fuchsia_package(
     name = "pkg",
     package_name = "hello_rust",
-    visibility = ["//visibility:public"],
     components = [
         ":component",
     ],
+    visibility = ["//visibility:public"],
 )
 
 rust_doc(