aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/rust/hello_world/BUILD
blob: 71061255cd368260375e928c393e52e09730e09a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package(default_visibility = ["//visibility:public"])

load("/tools/build_rules/rust/rust", "rust_binary", "rust_doc", "rust_doc_test")

rust_binary(
    name = "hello_world",
    srcs = ["src/main.rs"],
    deps = ["//examples/rust/hello_lib"],
)

rust_doc(
    name = "hello_world_doc",
    dep = ":hello_world",
)

rust_doc_test(
    name = "hello_world_doc_test",
    dep = ":hello_world",
)