diff options
Diffstat (limited to 'examples')
-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 1f5365675b..71061255cd 100644 --- a/examples/rust/hello_world/BUILD +++ b/examples/rust/hello_world/BUILD @@ -1,6 +1,6 @@ package(default_visibility = ["//visibility:public"]) -load("/tools/build_rules/rust/rust", "rust_binary", "rust_doc") +load("/tools/build_rules/rust/rust", "rust_binary", "rust_doc", "rust_doc_test") rust_binary( name = "hello_world", @@ -12,3 +12,8 @@ rust_doc( name = "hello_world_doc", dep = ":hello_world", ) + +rust_doc_test( + name = "hello_world_doc_test", + dep = ":hello_world", +) |