diff options
Diffstat (limited to 'examples/rust/hello_world/BUILD')
-rw-r--r-- | examples/rust/hello_world/BUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/rust/hello_world/BUILD b/examples/rust/hello_world/BUILD index e774dcc835..ccd87f1b93 100644 --- a/examples/rust/hello_world/BUILD +++ b/examples/rust/hello_world/BUILD @@ -1,9 +1,14 @@ package(default_visibility = ["//visibility:public"]) -load("/tools/build_rules/rust/rust", "rust_binary") +load("/tools/build_rules/rust/rust", "rust_binary", "rust_docs") rust_binary( name = "hello_world", srcs = ["src/main.rs"], deps = ["//examples/rust/hello_lib"], ) + +rust_docs( + name = "hello_world_docs", + dep = ":hello_world", +) |