The Builder::rustfmt_bindings method was added back and tagged as
deprecated instead of being removed.
Broken documentation links were fixed.
0.65.0
Added
Added the Builder::default_visibility method and the
--default-visibility flag to set the default visibility of fields. (#2338)
Added the --formatter CLI flag with the values none, rustfmt and
prettyplease to select which tool will be used to format the bindings. The
default value is rustfmt. (#2453)
Added the Builder::formatter method and the Formatter type to select
which tool will be used to format the bindings. (#2453)
Added the Builder::emit_diagnostics method and the --emit-diagnostics
flag to enable emission of diagnostic messages under the experimental
feature. (#2436)
Added support for the "efiapi" calling convention (#2490).
Added the ParseCallbacks::read_env_var method which runs everytime
bindgen reads and environment variable. (#2400)
Added the ParseCallbacks::generated_link_name_override method which allow
overriding the link name of items. (#2425)
Add support for C enums when generating code while using the
--wrap-static-fns feature. (#2415)
Changed
Static functions with no arguments use void as their single argument
instead of having no arguments when the --wrap-static-fns flag is used.
(#2443)
The source file generated when the --wrap-static-fns flag is enabled now
contains #include directives with all the input headers and all the source
code added with the header_contents method. (#2447)
The source file generated when the --wrap-static-fns flag no longer uses
asm labeling and the link name of static wrapper functions is allowed to
be mangled. (#2448)
The documentation of the generated type aliases now matches the comments
of their typedef counterparts instead of using the comments of the aliased
types. (#2463)
The Builder::rustfmt_bindings methods and the --no-rustfmt-bindings flag
are now deprecated in favor of the formatter API. (#2453)
Removed
The following deprecated flags were removed: --use-msvc-mangling,
--rustfmt-bindings and --size_t-is-usize. (#2408)
The Bindings::emit_warnings and Bindings::warnings methods were removed
in favor of --emit-diagnostics. (#2436)
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
7d24305
Prepare to release 0.65.1 (#2496)d9996ab
Fix Clippy lints (#2495)d0d3448
Improve documentation about regex (#2494)fa8dd50
Adddocs
workflow (#2493)2bcff0f
Prepare to release 0.65.0 (#2492)54bf9ca
Makeprettyplease
non-optional (#2491)5d1c79a
bindgen::ParseCallbacks: support tracking env variable usage for cargo (#2400)1e3e25f
Documentefiapi
ABI stabilization (#2490)594eb7b
Add support for the "efiapi" ABI. (#2481)dcc21c1
Don't generate wrong strings. (#2487)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)