nsi
nsi copied to clipboard
Update bindgen requirement from 0.65 to 0.66
Updates the requirements on bindgen to permit the latest version.
Changelog
Sourced from bindgen's changelog.
0.66.0
Added
- Added the
--generate-cstrCLI flag to generate string constants as&CStrinstead of&[u8]. (Requires Rust 1.59 or higher.)- Added the
--generate-shell-completionsCLI flag to generate completions for different shells.- The
--wrap-static-fnsoption can now wrapva_listfunctions as variadic functions with the experimentalParseCallbacks::wrap_as_variadic_fnmethod.- Add target mappings for riscv32imc and riscv32imac.
- Add the
ParseCallbacks::field_visibilitymethod to modify field visibility.Changed
- Non-UTF-8 string constants are now generated as references (
&[u8; SIZE]) instead of arrays ([u8; SIZE]) to match UTF-8 strings.- Wrappers for static functions that return
voidno longer contain areturnstatement and only call the static function instead.- The
--wrap-static-fnsoption no longer emits wrappers for static variadic functions.- Depfiles generated with
--depfileorBuilder::depfilewill now properly generate module names and paths that include spaces by escaping them. To make the escaping clear and consistent, backslashes are also escaped.- Updated
bitflagsdependency to 2.2.1. This changes the API ofCodegenConfig.- Prettyplease formatting is gated by an optional, enabled by default Cargo feature when depending on
bindgenas a library.- Items are now parsed in the order they appear in source files. This may result in auto-generated
_bindgen_*names having a different index.- Use default visibility for padding fields: Previously, padding fields were always public. Now, they follow the default visibility for the type they are in.
- Compute visibility of bitfield unit based on actual field visibility: A bitfield unit field and its related functions now have their visibility determined based on the most private between the default visibility and the actual visibility of the bitfields within the unit.
Removed
Remove redundant Cargo features, which were all implicit:
- bindgen-cli:
env_loggerandlogremoved in favor oflogging- bindgen (lib):
logremoved in favor ofloggingwhichremoved in favor ofwhich-loggingannotate-snippetsremoved in favor ofexperimentalPrettyplease is available as a
Formattervariant now.0.65.1
Fixed
... (truncated)
Commits
264075a0.66.0 release preparation (#2555)2665f1cImprove theblocklist_*andallowlist_*documentation. (#2554)bbeddb6Usesyn::Typeinstead of rawTokenStream. (#2549)38a2c93some doc fixes (#2552)9042f42rustfmt cleanup (#2553)df439e9fix and simplify language (#2528)81b3ce7it's a redirect (#2530)d56f53dAdd target mappings for riscv32imc and riscv32imac (#2551)2261681avoid implicit Cargo features (#2539)83f729fParse code by source order. (#2543)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)