feat: add extra_rustc_flags_triples (#2999)

Currently, this attribute can be either a dict or a list:

https://github.com/bazelbuild/rules_rust/blob/d383a1aef9865e59172af6c63f29c96fed19b04a/rust/repositories.bzl#L152

Resolved here:

https://github.com/bazelbuild/rules_rust/blob/d383a1aef9865e59172af6c63f29c96fed19b04a/rust/repositories.bzl#L1047

This adds `bzlmod` parity to that feature.
1 file changed
tree: 5ac4a4ee979c5c4c1c3695567a06b38279ecffab
  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. .bazelversion
  20. .clang-format
  21. .clippy.toml
  22. .envrc
  23. .gitattributes
  24. .gitignore
  25. .prettierrc.toml
  26. .rustfmt.toml
  27. ARCHITECTURE.md
  28. AUTHORS
  29. BUILD.bazel
  30. buildifier
  31. CODEOWNERS
  32. COMPATIBILITY.md
  33. CONTRIBUTING.md
  34. CONTRIBUTORS
  35. LICENSE.txt
  36. MODULE.bazel
  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.