propagate additional inputs from native dependencies (#858)

* propagate additional native inputs

* adapt test for buildbots

* update test

* only flatten additional inputs for bin crate type

* use crate_info.type instead of crate_type arg

* add cdylib and dylib to the types that get additional deps + tests
3 files changed
tree: 91340af1f8a5d661f4fbaf41f884f7ea98a9ec66
  1. .bazelci/
  2. .github/
  3. bindgen/
  4. cargo/
  5. crate_universe/
  6. docs/
  7. examples/
  8. proto/
  9. rust/
  10. test/
  11. tools/
  12. util/
  13. wasm_bindgen/
  14. .bazelignore
  15. .bazelrc
  16. .gitignore
  17. ARCHITECTURE.md
  18. AUTHORS
  19. BUILD.bazel
  20. CODEOWNERS
  21. CONTRIBUTING.md
  22. CONTRIBUTORS
  23. LICENSE.txt
  24. README.md
  25. WORKSPACE.bazel
  26. 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.

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.