Skip to content

0.29.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 20 May 12:13

0.29.0

  • Support no-export annotation for statics and functions.
  • Fixed conditional fields of constexpr literal structs
  • Add rename rule for generated associated constant
  • Upgrade heck to 0.5
  • Add support for an optional nullable attribute
  • docs.md: Fix deprecated_with_note and deprecated_variant_with_note being spelled as 'notes'
  • Fix generic with "void" default
  • Fixed error generation of structures using the keyword as inside arrays
  • Added test for unsafe(no_mangle) attribute
  • Fixed handling of trait methods containing the unsafe attribute
  • Rename -Zparse-only

0.28.0

  • Parse unsafe attributes in #1020
  • Fix local override of enum prefix-with-name by jsgf in #1006
  • Add rename-all=prefix in #1021
  • ir: add support for UnsafeCell and SyncUnsafeCell by alekitto in #1003
  • Implement mangling for arrays in #1022
  • Fix: Ignore CARGO_BUILD_TARGET in tests by bryango in #1010
  • Newline for each field for constexpr field constants by youknowone in #988
  • Fix clippy warnings by youknowone in #1026
  • Add aarch64/arm64 to CI by NickeZ in #1036
  • Add unstable_ir feature flag that makes the ir pub by heesooy in #1011
  • Support generated a symbols file by TheElectronWill in #916

0.27.0

  • Revert: The Config struct now has a private member.
  • Allow users to specify a crate version for bindings generation (#901).
  • Update MSRV to 1.74 (#912, #987).
  • Support #[deprecated] on enum variants (#933).
  • Support integrating the package_version information in a header file comment (#939).
  • Add a language backend (#942).
  • Support generics with defaulted args (#959).
  • Add VaList compatibility (#970).

0.26.0

  • Fix swapping of >>= and <<= in constants.
  • Add support for #[deprecated] (#860).
  • Built-in support for bitflags 2.0.
  • Support for "C-unwind" ABI.
  • Generate bindings for non-public extern items if they are #[no_mangle].