| commit | f197ab88658216491f2ecc49bfe304baf1525f1e | [log] [tgz] |
|---|---|---|
| author | Vaibhav <vaibhavshukla@google.com> | Thu Feb 05 12:50:24 2026 +0100 |
| committer | GitHub <noreply@github.com> | Thu Feb 05 11:50:24 2026 +0000 |
| tree | 5cc67075f1bddc34f591e3ca3761f45179ede7fb | |
| parent | b0daae0ae34082f52765c16709f81f9000d62524 [diff] |
Make libclang attr as optional in the rust_bindgen_toolchain (#3788) The `libclang` attr is currently used to set env variables for the underlying `clang-sys` crate to dynamically link libclang. In build systems that use static linking, these are redundant. Making libclang attr optional simplifies the toolchain config for static linking. --------- Co-authored-by: Krasimir Georgiev <krasimir@google.com>
This repository provides rules for building Rust projects with Bazel.
The fastest way to try this in an empty project is to click the green “Use this template” button on https://github.com/bazel-starters/rust.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.