aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Francois-Rene Rideau <tunes@google.com>2016-02-17 20:57:31 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-02-17 21:42:30 +0000
commitce449e8d39183cd4908e25c365129cee50c4d3da (patch)
tree214fa0af0c08b20c04732da79ce3fc5c4b496586 /tools
parentd8ffb712a8d4247c312c6f7df346d5c21e3246aa (diff)
Don't import API functions you don't use
This prevents a refactoring in said API -- MOS_MIGRATED_REVID=114889925
Diffstat (limited to 'tools')
-rw-r--r--tools/build_rules/rust/test/rust_rule_test.bzl15
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/build_rules/rust/test/rust_rule_test.bzl b/tools/build_rules/rust/test/rust_rule_test.bzl
index faceeede81..6be7f59640 100644
--- a/tools/build_rules/rust/test/rust_rule_test.bzl
+++ b/tools/build_rules/rust/test/rust_rule_test.bzl
@@ -20,21 +20,9 @@ load(
"rust_binary",
"rust_test",
)
-
load(
"//tools:build_rules/test_rules.bzl",
- "success_target",
- "successful_test",
- "failure_target",
- "failed_test",
- "assert_",
- "strip_prefix",
- "expectation_description",
- "check_results",
- "load_results",
- "analysis_results",
"rule_test",
- "file_test",
)
def _rust_library_test(package):
@@ -48,7 +36,6 @@ def _rust_library_test(package):
rule = package + "/hello_lib:hello_lib",
)
-
def _rust_binary_test(package):
rule_test(
name = "hello_world_rule_test",
@@ -56,7 +43,6 @@ def _rust_binary_test(package):
rule = package + "/hello_world:hello_world",
)
-
def _rust_test_test(package):
"""Issue rule tests for rust_test."""
rule_test(
@@ -65,7 +51,6 @@ def _rust_test_test(package):
rule = package + "/hello_lib:greeting",
)
-
def rust_rule_test(package):
"""Issue simple tests on rust rules."""
_rust_library_test(package)