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.
5 files changed
tree: 86dfd4d380df570826a40f692a770913e5cb2ee3
  1. .bazelci/
  2. bindgen/
  3. cargo/
  4. docs/
  5. examples/
  6. proto/
  7. rust/
  8. test/
  9. tools/
  10. util/
  11. wasm_bindgen/
  12. .bazelignore
  13. .gitignore
  14. AUTHORS
  15. BUILD
  16. CODEOWNERS
  17. CONTRIBUTING.md
  18. CONTRIBUTORS
  19. LICENSE.txt
  20. README.md
  21. WORKSPACE
  22. workspace.bzl
README.md

Rust Rules

  • Postsubmit Build status
  • Postsubmit + Current Bazel Incompatible Flags Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Please refer to the full documentation.