rules_rust/bindgen
Daniel Wagner-Hall c603a7710d
Add per-target link flags in the right place (#2963)
Previously we were adding these early on in the link args.

This was a bug - if some transitive dep foo has a linkopt of `-lbar`,
the `-lbar` needs to be later in the link args list than `-lfoo`.

Rather than arbitrarily adding them early on and hoping things work,
this adds the args for each library just after we add a dependency on
that library.
2024-10-26 20:36:01 +00:00
..
3rdparty Fix fuchsia platform triple (#2945) 2024-10-20 15:33:14 +00:00
private Add per-target link flags in the right place (#2963) 2024-10-26 20:36:01 +00:00
BUILD.bazel Export bindgen rules through `@rules_rust//bindgen:defs.bzl` (#2054) 2023-09-22 09:53:16 +01:00
README.md Updated rust_bindgen dependencies API (#1354) 2022-05-23 07:33:51 -07:00
defs.bzl Export bindgen rules through `@rules_rust//bindgen:defs.bzl` (#2054) 2023-09-22 09:53:16 +01:00
repositories.bzl Update bindgen version to 0.70.1 (#2872) 2024-09-18 16:01:06 +00:00
transitive_repositories.bzl Update bindgen rules to build clang from source. (#1998) 2023-06-13 11:52:39 +00:00

README.md

Rust Bindgen Rules

These rules are for using Bindgen to generate Rust bindings to C (and some C++) libraries.

See the rules_rust documentation for more info: https://bazelbuild.github.io/rules_rust/rust_bindgen.html