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.
Removed
The following deprecated methods and their equivalent CLI arguments were
removed: whitelist_recursively, hide_type, blacklist_type,
blacklist_function, blacklist_item, whitelisted_type,
whitelist_type, whitelist_function, whitelisted_function,
whitelist_var, whitelisted_var, unstable_rust.
0.62.0
Added
new feature: --override-abi flag to override the ABI used by functions
matching a regular expression.
new feature: allow using the C-unwind ABI in --override-abi on nightly
rust.
new feature: process_comments method to the ParseCallbacks trait to
handle source code comments.
Changed
Regex inputs are sanitized so alternation (a|b) is handled correctly but
wildcard patterns (*) are now considered invalid.
the ParseCallbackstrait does not require to implement UnwindSafe.
the Builder::parse_callbacks method no longer overwrites previously added
callbacks and composes them in a last-to-first manner.
any generated rust code containing unsafe operations inside unsafe functions
is wrapped in unsafe blocks now.
Fixed
Various issues with upcoming clang/libclang versions have been fixed.
0.61.0
Released 2022/10/16
... (truncated)
Commits
c515919 CONTRIBUTING: Add docs for doing a release. (#2358)
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)
Updates the requirements on bindgen to permit the latest version.
Changelog
Sourced from bindgen's changelog.
... (truncated)
Commits
c515919
CONTRIBUTING: Add docs for doing a release. (#2358)d828f3f
Release v0.63.0 (#2357)7e41749
Deprecate Rust targets lower or equal than1.30
(#2356)046d6f9
Add--wrap-unsafe-ops
option (#2354)f160d11
AddParseCallbacks::process_comment
(#2347)34f0bac
IntroduceDeriveInfo
(#2355)8fe2308
Remove deprecated methods (#2346)ce534c1
add LICENSE symlinks to all individually published cratesc09bd2f
v0.62.0678daf5
document regex arguments handling (#2345)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)