Fixed regression in `load_arbitrary_tool` causing it to require attributes repository rules that call it. (#554)
In https://github.com/bazelbuild/rules_rust/pull/545 I fixed an issue where `load_arbitrary_tool` could not be used in repository rules that did not specify particular attributes. This issue was then reintroduced in https://github.com/bazelbuild/rules_rust/issues/551. This PR fixes the issue again and adds a test to prevent this from happening again in the future.
diff --git a/WORKSPACE b/WORKSPACE
index 92d94d0..fc72f88 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -20,6 +20,10 @@
bazel_skylib_workspace()
+load("//test:deps.bzl", "io_bazel_rules_rust_test_deps")
+
+io_bazel_rules_rust_test_deps()
+
# --- end stardoc
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")