Support repo mapping for bazel runfiles.

This is a copy of https://github.com/bazelbuild/rules_rust/pull/1847.
Submitting to our fork because it's unlikely to be submitted soon.

BUG=None
TEST=portage/tools/run_tests.sh

Change-Id: I1076582fb709a9eb8f1b3713507926a56c531575
7 files changed
tree: 361c32e31524e3da701dc3c55483857cb2518a65
  1. .bazelci/
  2. .bcr/
  3. .github/
  4. bindgen/
  5. cargo/
  6. crate_universe/
  7. docs/
  8. examples/
  9. ffi/
  10. nix/
  11. proto/
  12. rust/
  13. test/
  14. tools/
  15. util/
  16. wasm_bindgen/
  17. .bazelignore
  18. .bazelrc
  19. .clang-format
  20. .envrc
  21. .gitattributes
  22. .gitignore
  23. .prettierrc.toml
  24. .rustfmt.toml
  25. ARCHITECTURE.md
  26. AUTHORS
  27. BUILD.bazel
  28. CODEOWNERS
  29. COMPATIBILITY.md
  30. CONTRIBUTING.md
  31. CONTRIBUTORS
  32. DIR_METADATA
  33. LICENSE.txt
  34. MODULE.bazel
  35. OWNERS
  36. OWNERS.clover
  37. README.md
  38. version.bzl
  39. WORKSPACE.bazel
README.md

Rust Rules

  • Postsubmit Build status

Overview

This repository provides rules for building Rust projects with Bazel.

Community

General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.

Documentation

Please refer to the full documentation.