Use the libraries included with the clang distribution for bindgen (#820)

* Use the libraries included with the clang distribution for bindgen

* Fall back to the system load path if libstdcxx is not specified

* Regenerate documentation

* Fix bugs and preserve backward compatibility with users of bindgen_clang_*

* Buildifier

* Regenerate documentation

* Re-enable tests

* Generate rpaths correctly

* Skip rpath generation on Windows

* Better comment about why test is disabled

* Add comment about DYLD_LIBRARY_PATH

* buildifier
7 files changed
tree: e570b41851c4123437f714139c598b7e4fc1dd07
  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.