rust-bindgen
rust-bindgen copied to clipboard
Automatically generates Rust FFI bindings to C (and some C++) libraries.
This PR adds support for configuration files when using `bindgen-cli`. The main motivation for this feature is that, with the growing number of options that bindgen has, it is hard...
Now, we can perceive non-starting bitfields and non-ending bitfields Also, I modified the calculation method of align: only calculate alignment for bitfield from structure using `bitfield_width` The reason is that...
Add common traits like `Debug` to the callback objects like `ItemKind` and `ItemInfo`.
Github triggers can only be constrained by branches and not tags. Since we don't want the publish job to run on pull_requests, we use `dist`s custom `publish-jobs` instead.
This might fix the issue in the release github action. edit: At least it seems so with `dist host --output-format=json` ```patch --- main.json 2025-06-09 12:32:16 +++ branch.json 2025-06-09 12:32:04 @@...
I guess it should be as simple as this now that aarch64 runners have been added.
Unable to compile Mesa with `0.71.1` for Fedora in a Mesa CI container due to the following: ``` [3762/4770] Compiling Rust source src/etnaviv/isa/isa_bindings.rs FAILED: src/etnaviv/isa/libisa_bindings.rlib rustc -C linker=cc --color=always -C...
Would fix #3107 - The name passed to `generated_link_name_override` is no longer first modified by `generated_name_override` - Makes the mangled name for items available in `generated_link_name_override` and `generated_name_override`, by including...
* Emit aliases in the nearest ancestor module if the parent is not a module, rather than in the root module * If an alias would refer to itself, don't...