Added the ParseCallbacks::header_file callback which runs on every filename passed to Builder::header.
Added the CargoCallbacks::new constructor which emits a cargo-rerun line
for every input header file by default.
Added the CargoCallbacks::rerun_on_header_files method to configure whether
a cargo-rerun line should be emitted for every input header file.
Changed
The --wrap-static-fns feature was updated so function types that has no
argument use void as its sole argument.
CargoCallbacks is no longer a unit-like
struct and the
CargoCallbacks constant was added to mitigate the breaking nature of this
change. This constant has been marked as deprecated and users will have to
use the new CargoCallbacks::new method in the future.
Removed
Fixed
Allow compiling bindgen-cli with a static libclang.
Emit an opaque integer type for pointer types that don't have the same size
as the target's pointer size.
Avoid escaping Objective-C method names unless they are Self, self,
crate or super.
Security
0.68.1
Fixed
Fixed errors on the windows artifact build process.
0.68.0
Added
The system ABI is now supported as an option for the --override-abi flag.
The allowlist_item method and the --allowlist-item flag have been
included to filter items regardless or their kind.
Include installers as release artifacts on Github.
Changed
The Clone implementation for _BindgenUnionField has been changed to pass
the incorrect_clone_impl_on_copy_type Clippy lint.
The c_unwind ABI can be used without a feature gate for any Rust target version
equal to or greater than 1.71.
This comes as a result of the ABI being stabilised (in Rust 1.71).
Formatting changes when using prettyplease as a formatter due to a new
prettyplease version.
Avoid generating invalid CStr constants when using the --generate-cstr
option.
Removed
The extra_assert and extra_assert_eq macros are no longer exported.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on bindgen to permit the latest version.
Release notes
Sourced from bindgen's releases.
Changelog
Sourced from bindgen's changelog.
... (truncated)
Commits
c73990c
Rename secret for crates.io token1279a11
chore: Released1cc3c2
Update release instructions7ed33dd
Update the changelog using cargo release04fa393
publish from GitHub release page (#2645)5d1a254
Fix thecheck-cfg
workflow (#2676)89a84f6
Bump rustix from 0.36.7 to 0.36.16 (#2666)e41f9dc
bump cargo dist, and disable trying to create windows releases (#2660)100ab4c
[Doc] Add missing entry for allowlist-item. (#2659)7b95673
Let clap handle all CLI parsing errors (#2656)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show