summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poveda <31802960+pvdrz@users.noreply.github.com>2022-10-06 18:30:25 -0500
committerGitHub <noreply@github.com>2022-10-07 01:30:25 +0200
commitc8d569930e006a7e0975dfbaaf5e5d591749b30a (patch)
tree79f11a6bca2a4293bce8333004ec21196988a436
parent63bf6433e10156899e614c73d03ada682ff079ac (diff)
update `CHANGELOG.md` (#2298)
-rw-r--r--CHANGELOG.md31
1 files changed, 29 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6c2e64e6..d83e33d3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -143,11 +143,38 @@
## Added
- * new feature: `--sort-semantically` flag to sort the output in a predefined manner [(#1743)]
+ * new feature: `--sort-semantically` flag to sort the output in a predefined
+ manner [(#1743)].
+ * new feature: `Bindgen::emit_warnings` method to emit warnings to stderr in
+ build scripts.
+ * new feature: `--newtype-global-enum` flag to generate enum variants as
+ global constants.
+ * new feature: `--default-non-copy-union-style` flag to set the default style
+ of code used to generate unions with non-`Copy` members.
+ * new feature: `--bindgen-wrapper-union` flag to mark any union that matches a
+ regex and has a non-Copy member to use a bindgen-generated wrapper for its
+ fields.
+ * new feature: `--manually-drop-union` flag to mark any union that matches a
+ regex and has a non-`Copy` member to use `ManuallyDrop`.
+ * new feature: `--merge-extern-blocks` flag to merge several `extern` blocks
+ that have the same ABI.
+ * new feature: `--no-size_t-is-usize` flag to not bind `size_t` as `usize`.
## Changed
- * clap has been updated, new msrv is 1.57.
+ * clap and regex have been updated, new msrv is 1.57.
+ * The `--enable-function-attribute-detection` flag is also used to detect
+ diverging functions so the generated bindings use `!` as the return type.
+ * The `--size_t-is-usize` flag is enabled by default.
+ * Unused type aliases for `<stdint.h>` types are no longer emitted.
+ * The `blocklist` options now can be used to block objective-C methods.
+ * The `core::ffi` module is used the sized raw integer types
+ instead of `std::os::raw` if the Rust target version is `1.64` or higher and
+ the `--use-core` flag is enabled.
+ * The `bindgen` CLI utility must be installed using `cargo install
+ bindgen-cli` now.
+ * Using `bindgen` as a library no longer pulls clap and any other CLI
+ related dependencies.
## Removed