What's Changed
The major change here is a lot of rework of the safety!(unsafe_references_wrapped)
mode, based on the researches done here. This is a compatibility break, but only if you're using that mode.
- Rewrite reference_wrapper.rs to be structs. by @adetaylor in #1164
There are also significant bug fixes to extern_rust_type!()
as noted below.
Other features
- Support
extern_cpp_type!
with a different name by @bsilver8192 in #1150 (thanks!)
Bug fixes
- Fix problem with functions returning references which took non-reference parameters. by @adetaylor in #1156
- Merge bindgen upstream 0.62 by @adetaylor in #1183 (fixes an incompatibility with the latest clang, #1182)
- Fix 1161 by @adetaylor in #1162 (a problem with
extern_rust_type
) - Extern rust fun type checking by @adetaylor in #1168 (thanks to "Add failing test for extern_rust_function" by @Ravenslofty in #1166)
- Fix movability of structs with enum fields by @adetaylor in #1179
Misc changes
- Remove extra logging by @adetaylor in #1157
- Rust 1.64 clippy lint. by @adetaylor in #1160
- Partial fix for issue 1097. by @adetaylor in #1158
- Revise cxx to 1.0.78. by @adetaylor in #1163
- Slight reduction speedup. by @adetaylor in #1171
- Format tomls by @adetaylor in #1175
- Update deps, format TOML by @vorot93 in #1152
- Adding a test. by @adetaylor in #1173
- Remove dependency on rustc_version. by @adetaylor in #1176
- Reduce includes a call to
rustc
by @adetaylor in #1172 - Nightly clippies by @adetaylor in #1184
- Work towards handling
=default
functions by @adetaylor in #1180
New Contributors
- @Ravenslofty made their first contribution in #1166
- @vorot93 made their first contribution in #1152
Full Changelog: v0.22.4...v0.23.0