ispc-rs
ispc-rs copied to clipboard
Update bindgen requirement from 0.71 to 0.72
Updates the requirements on bindgen to permit the latest version.
Release notes
Sourced from bindgen's releases.
v0.72.0
Added
- Report enums in ParseCallbacks.
- Refactor item_name method to use ItemInfo struct.
- Add callback to modify contents of macro
- Discovery callbacks for functions and methods.
- Options to generate uncallable C++ functions.
- Provide option to get real virtual fn receiver.
Changed
- Generate bindings compatible with current rustc version by default.
Removed
- Remove unused which-rustfmt feature
- Remove warning for opaque forward declarations
Fixed
- More sophisticated handling of the triple in rust_to_clang_target
- Rename *-apple-ios-sim to ...simulator
- Fix OpenCL vectors that use "ext_vector_type".
- Fix union layout when it contains 0 sized array.
- Avoid crashing on variadic unions without layout information.
- Distinguish char16_t.
- Fix bugs in --clang-macro-fallback
- Add missed unsafe in the raw_set_bit function
- Use link_name for dynamic library loading
- Add "gen" to list of rust keywords in 'rust_mangle'
- Use appropriate
rustfmt --format ...paramFull Changelog: https://github.com/rust-lang/rust-bindgen/compare/v0.71.1...v0.72.0
Changelog
Sourced from bindgen's changelog.
0.72.0 (2025-06-08)
Added
- Report enums in ParseCallbacks.
- Refactor item_name method to use ItemInfo struct.
- Add callback to modify contents of macro
- Discovery callbacks for functions and methods.
- Options to generate uncallable C++ functions.
- Provide option to get real virtual fn receiver.
Changed
- Generate bindings compatible with current rustc version by default.
Removed
- Remove unused which-rustfmt feature
- Remove warning for opaque forward declarations
Fixed
- More sophisticated handling of the triple in rust_to_clang_target
- Rename *-apple-ios-sim to ...simulator
- Fix OpenCL vectors that use "ext_vector_type".
- Fix union layout when it contains 0 sized array.
- Avoid crashing on variadic unions without layout information.
- Distinguish char16_t.
- Fix bugs in --clang-macro-fallback
- Add missed unsafe in the raw_set_bit function
- Use link_name for dynamic library loading
- Add "gen" to list of rust keywords in 'rust_mangle'
- Use appropriate
rustfmt --format ...paramv0.71.1 (2024-12-09)
Fixed
- Fix
--versionand--generate-shell-completions(#3040)0.71.0 (2024-12-06)
Added
- Add the
ParseCallbacks::new_item_foundcallback to expose the original and final name of structs, unions and enums (#2658).- Add the
field_type_namefield toFieldInfoto expose the name of the type of a field (#2863)- Add support for custom attributes with the
--with-attribute-customflag (#2866)- Allow setting
--rust-targetto any Rust version supported by bindgen (#2993)- Use c-string literals if the
--generate-cstrflag is used for Rust targets after 1.77 under the 2021 edition (#2996)- Add the
--rust-editionflag which allows to select which Rust edition to target. (#3002, #3013)- Use
unsafe externinstead ofexternin blocks for any Rust target after 1.82. (#3015)Changed
... (truncated)
Commits
d0e7d6bchore: Releasee7f0b9dUpdate changelog.2882af2Refactor item_name method to use ItemInfo structe2940cdchore: Fix some warnings with latest stable.5d7f684codegen: Avoid crashing on variadic unions without layout information.2613129Remove unused which-rustfmt featurefef1561Fix rustfmt errors965a13cAdd testb9c6984Use callbacks properly803d73eUse parse_callbacks from options- 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@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)