aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/rust/hello_world/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rust/hello_world/BUILD')
-rw-r--r--examples/rust/hello_world/BUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/rust/hello_world/BUILD b/examples/rust/hello_world/BUILD
new file mode 100644
index 0000000000..e774dcc835
--- /dev/null
+++ b/examples/rust/hello_world/BUILD
@@ -0,0 +1,9 @@
+package(default_visibility = ["//visibility:public"])
+
+load("/tools/build_rules/rust/rust", "rust_binary")
+
+rust_binary(
+ name = "hello_world",
+ srcs = ["src/main.rs"],
+ deps = ["//examples/rust/hello_lib"],
+)