Added a new set of flags --with-derive-custom,
--with-derive-custom-struct, --with-derive-custom-enum and
--with-derive-custom-enum to add custom derives from the CLI.
Added the --experimental flag on bindgen-cli and the experimental
feature on bindgen to gate experimental features whose implementation is
incomplete or are prone to change in a non-backwards compatible manner.
Added a new set of flags and their equivalent builder methods
--wrap-static-fns, --wrap-static-fns-suffix and --wrap-static-fns-path
to generate C function wrappers for static or static inline functions.
This feature is experimental.
Changed
Fixed name collisions when having a C enum and a typedef with the same
name.
The ParseCallbacks::generated_name_override method now receives ItemInfo<'_> as
argument instead of a &str.
Updated the clang-sys crate version to 1.4.0 to support clang 15.
The return type is now ommited in signatures of functions returning void.
Updated the clap dependency for bindgen-cli to 4.
Rewrote the bindgen-cli argument parser which could introduce unexpected
behavior changes.
The ParseCallbacks::add_derives method now receives DeriveInfo<'_> as
argument instead of a &str. This type also includes the kind of target type.
Removed
Fixed
Security
0.63.0
Added
new feature: process_comments method to the ParseCallbacks trait to
handle source code comments.
Changed
Only wrap unsafe operations in unsafe blocks if the --wrap_unsafe_ops
option is enabled.
Replace the name: &str argument for ParseCallbacks::add_derives by
info: DeriveInfo.
All the rust targets equal or lower than 1.30 are being deprecated and
will be removed in the future. If you have a good reason to use any of these
targets, please report it in the issue tracker.
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 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)
Bumps bindgen from 0.60.1 to 0.64.0.
Changelog
Sourced from bindgen's changelog.
... (truncated)
Commits
ae68172
Release 0.64.0 Request (#2399)2be14a3
Generate extern wrappers for inlined functions (#2335)62b48c5
Fix wrong entry in changelog (#2404)a7ff8e1
Add *-espidf target triple mappings (#2397)bca47cd
Implement cli option for custom derive (#2328)190a017
Migrate CLI argument parse to the clapderive
API (#2390)758ec87
Remove any references tomaster
(#2391)6322b2d
Add trigger for push tomain
branch for sync'ing withmaster
(#2387)ed2d06e
Update to clap 4. (#2380)e6dd2c6
Document semantic difference between constructors and wrappers (#2385)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 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)