bindgen breaking changes
Updated December 4, 2026
On this page
Latest version 0.73.2, released September 8, 2026. Source repository
Its 0.71.0 release drops Rust 1.33. Rust end of life dates.
bindgen 0.73.0 breaking changes
- Removed
bindgen no longer depends on itertools; this only matters if code relied on it transitively. github.com - Removed
RustTarget
Code targeting rustc versions before 1.51 and the corresponding RustTarget constants are no longer available. github.com - Behavior changed
Shared symbols are now declared once in a single extern block, changing generated layout. github.com - Behavior changed
Hidden type aliases now carry a doc comment referencing the aliased type. github.com - Behavior changed
Newtype aliases to c_void stop deriving traits, which can break code relying on those impls. github.com - Behavior changed
Comment options are now honored in all places, which can change generated doc comments. github.com - Behavior changed
Generated bitfield accessor implementation changed, which may alter generated code. github.com - Behavior changed
Generated opaque types now have a guaranteed layout on every architecture, which may change generated output. github.com - Behavior changed
Types only forward-declared no longer receive default derive traits. github.com - Behavior changed
Dependency major versions changed; code relying on these crates' types through bindgen may need updates. github.com - Behavior changed
Generated bindings for C++ references use NonNull, which changes their Rust types. github.com - Behavior changed
Users on older Rust toolchains must upgrade to Rust 1.71 to build this release. github.com - Behavior changed
Generated union field accessors are const and comply with Rust 2024 unsafe rules, which may affect callers. github.com - Behavior changed
When no input headers are given, bindgen now returns a NoHeadersProvided error rather than generating empty bindings. github.com - Behavior changed
Bindings.write
Callers passing a Box<dyn Write> to Bindings::write must now pass a value implementing Write. github.com - Signature changed
bindgen::Bindings::write
Was fn write<'a>(&self, mut writer: Box<dyn Write + 'a>) -> io::Result<()>; now fn write(&self, mut writer: impl Write) -> io::Result<()>. crates.io
bindgen 0.72.0 breaking changes
- Removed
which-rustfmt
The which-rustfmt feature was removed. Code or build configuration that enables this feature must drop it. github.com - Default changed
Generated bindings are now compatible with the current rustc version by default. Code that relied on the previous default may need to set the target version explicitly. github.com
bindgen 0.71.0 breaking changes
- Removed
Clang versions strictly lower than 9.0 are no longer supported. Upgrade Clang to 9.0 or later before using this release. github.com - Removed
Rust versions strictly lower than 1.33 are no longer supported. Use Rust 1.33 or later. github.com
bindgen 0.69.0 breaking changes
- Signature changed
bindgen::CargoCallbacks
Was struct CargoCallbacks; now const CargoCallbacks: CargoCallbacks. crates.io
bindgen 0.64.0 breaking changes
- Behavior changed
Signatures of functions returning void are generated without the return type, which changes the generated bindings. github.com - Behavior changed
The command-line argument parser was rewritten and may change how existing command-line invocations behave. github.com - Signature changed
bindgen::Builder::generate
Was fn generate(self) -> Result<Bindings, BindgenError>; now fn generate(mut self) -> Result<Bindings, BindgenError>. crates.io - Signature changed
ParseCallbacks.add_derives
The add_derives callback takes a DeriveInfo argument instead of &str, so implementations must be updated to accept the new type. github.com - Signature changed
ParseCallbacks.generated_name_override
The generated_name_override callback takes an ItemInfo argument instead of &str, so implementations must be updated to accept the new type. github.com
bindgen 0.63.0 breaking changes
- Removed
blacklist_function
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
blacklist_item
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
blacklist_type
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
hide_type
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
unstable_rust
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
whitelist_function
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
whitelist_recursively
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
whitelist_type
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
whitelist_var
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com - Removed
whitelisted_function
The deprecated method and its CLI argument were removed. Use the replacement API instead. github.com
And 4 more in this version. Sign up to see every change
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
bindgen 0.62.0 breaking changes
- Behavior changed
Any generated Rust code containing unsafe operations inside unsafe functions is now wrapped in unsafe blocks. Generated bindings differ in output and may trigger different lints. github.com - Behavior changed
Regex inputs are sanitized so alternation is handled correctly, but wildcard patterns (*) are now considered invalid. Code passing * in regex options must use a valid regular expression instead. github.com
And 2 more in this version.
bindgen 0.61.0 breaking changes
- Behavior changed
With the `--use-core` flag and a Rust target of 1.64 or higher, sized raw integer types come from `core::ffi` instead of `std::os::raw`. github.com - Behavior changed
Generated bindings no longer include unused type aliases for `<stdint.h>` types. Code that referenced those aliases must change. github.com
And 8 more in this version.
bindgen 0.60.0 breaking changes
- Removed
Bindgen 0.60.0 no longer supports very old libclang versions. Users on those libclang versions must upgrade libclang before using this release. github.com - Behavior changed
The minimum supported Rust version is now 1.54, and cexpr, clap and nom were updated. Users on older Rust toolchains must upgrade. github.com
And 2 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.