blob: a217437d3edb4e293a1c4277750bfd9b8a47a327 [file] [log] [blame]
load(
"@bazel_tools//tools/build_rules:test_rules.bzl",
"rule_test",
)
rule_test(
name = "hello_lib_rule_test",
generates = ["libhello_lib-683707109.rlib"],
rule = "//test/rust:hello_lib",
)
rule_test(
name = "hello_world_rule_test",
generates = select({
"//rust/platform:windows": ["hello_world.exe"],
"//conditions:default": ["hello_world"],
}),
rule = "//test/rust:hello_world",
)