Files
rust-bindgen/rust-bindgen.changes
Ruediger Oertel 596534ea2c update to 0.72
2025-07-25 01:11:25 +02:00

246 lines
10 KiB
Plaintext

-------------------------------------------------------------------
Thu Jul 24 01:02:06 UTC 2025 - William Brown <william.brown@suse.com>
- Update to version 0.72.0:
* chore: Release
* Update changelog.
* Refactor item_name method to use ItemInfo struct
* chore: Fix some warnings with latest stable.
* codegen: Avoid crashing on variadic unions without layout information.
* Remove unused which-rustfmt feature
* Fix rustfmt errors
* Add test
* Use callbacks properly
* Use parse_callbacks from options
* Add callback to modify contents of macro
* ci: Move forward Rust for Linux version to v6.15-rc4
* doc: enhance desc of cpp section
* Generate bindings compatible with current rustc version by default
* ci/release: Ubuntu 20.04 being sunset
* Resolved unenclosed backticks for with_derive_custom_enum, with_attribute_custon_enum
* fix all clippy lints
* fix clippy issues
* another minor clippy lint
* remove stable rust installation
* remove check-cfg, separate clippy from nightly
* chore: fix new clippy lints, enforce in CI
* ci: use stable toolchain again
* ci: move forward Rust for Linux version to v6.14
* ci: Re-enable rust for linux test.
* Fix union layout when it contains 0 sized array.
* Refactor enum generation.
* Fix OpenCL vectors that use "ext_vector_type" and add test
* more sophisticated handling of the triple in rust_to_clang_target
* rename *-apple-ios-sim to ...simulator
* Option to represent all C++ operators.
* Formatting tweaks.
* Discovery callbacks for functions and methods.
* Further formatting fix.
* Formatting fixes.
* Options to generate uncallable C++ functions.
* Mark all format-like macros for Clippy
* Disable rust-for-linux test temporarily.
* Provide option to get real virtual fn receiver.
* Improve comments and docs relating to char16_t.
* Add extra tests.
* Report enums in ParseCallbacks.
* Distinguish char16_t.
* Fix bugs in --clang-macro-fallback
* Remove useless fallback
* Remove warning for opaque forward declarations
* Fix missed tests
* Add missed unsafe in the raw_set_bit function
* Fixes #3123
* Use link_name for dynamic library loading
* Fix `borrow_as_ptr` lint
* Fix `explicit_into_iter_loop` lint
* add "gen" to list of matches in 'rust_mangle'
* Fix CI to not run publish all the time
* use `assert_eq|_ne` instead of `assert!`
* Fix `flat_map_option` lint
* Fix `checked_conversions` lint
* Fix `inconsistent_struct_constructor` and `ptr_as_ptr` lints
* Fix `trivially_copy_pass_by_ref` lint
* Fix `needless_pass_by_value` lint
* A few minor clippy lints
* process_comment: Use last defined callback
* Fix calling convention tests
* Use appropriate `rustfmt --format ...` param
* Multiple minor lint fixes
* docs(book): fix deprecated bindgen constant in example
* Derive `Debug` and eq. comparison traits for `InvalidRustTarget` enum
* Update tutorial
* Use the latest verison of mBook to fix copy to clipboard
* Update `proc-macro2` version requirement to `1.0.80`
-------------------------------------------------------------------
Sat Jul 19 08:41:26 UTC 2025 - Mark Abarintos <mrkcee@protonmail.com>
- Update to version 0.71.1:
* chore: bump versions and update changelog
* ci: bump macos image for x86 binaries
* chore: update changelog for release
* ci: Revert `cargo-dist` update
* chore: use custom action to create the tag
* ci: fetch all the history
* ci: invert conditional
* ci: fix `git rev-parse`
* chore: fix `create-tag` conditional logic
* ci: add missing `&&` on `create-tag.yml`
* ci: checkout to the right commit
* ci: sign tag
* ci: allow creating tags on manually
* ci: only trigger tag creation on github-actions PRs
* ci: update `cargo-dist` version
* ci: add regression tests for #3037 and #3039
* Unbreak shell completion and --version without header
* Add version field to `bindgen` as a dependency
* chore: bump versions
* chore: update changelog
* ci: remove `main_tests` from matrix
* ci: remove unused targets
* docs(book): fix inconsistent use of Clang versions
* docs(book): fix package name for the extra Clang tools
* ci: Move forward Rust for Linux version to v6.13-rc1
* Use `KyleMayes/install-llvm-action` to install LLVM
* Use `macos-latest` on CI
* Fix regression spotted at #3027
* Bless all the tests
* Update the `--merge-extern-blocks` tests
* Test the `unsafe_extern_blocks` feature
* Add support for unsafe extern blocks
* Fix some markdown
* Expose the name of the inner type of an alias
* Add FieldInfo::field_type_name
* Wrap the array representation of opaque types in a #[repr(C)] struct
* example test for item discovery callback (new_item_found)
* expose discovered composite types and aliases to parse callbacks
* Improve debug str generator
* Fix `manual_let_else` and `single_match_else` lint
* Fix `explicit_iter_loop` lint
* Fix `if_not_else` lint
* Fix `map_unwrap_or` lint
* Fix `cast_lossless` lint
* Fix a lot of `unused_qualifications` lints
* Bump some dependencies
* Consolidate clippy configuration
* automate MSRV in CI
* consolidate versions in one place
* sort dependencies
* Linting semicolons
* Inline more format args, spelink
* Applied clippy cloned->copied, and cleanup
* Make RustEdition public
* Test the `literal_cstr` feature with different editions
* Add support for edition 2024
* Introduce `--rust-edition`
* Make nightly target compatible with every other target
* Use `Display` for `Builder::generate` errors
* Clippify, and hide some lints in test output
* Inline format args
* Use v2 cargo resolver
* a few more lints
* avoid compiler warning
* Automatic support for C-String literals
* Bump to 2021 edition
* Update the help message for `--rust-target`
* Ignore the `layout.h` test
* Make clippy happy :)
* Remove deprecated targets
* Add constructors to `RustTarget`
* Represent Rust versions with integers
* Make `RustTarget` parsing more permissive
* Recognize inline namespaces using clang's dedicated API for that
* Add test of macro-generated inline namespace
* Install libtinfo5 from jammy-updates
* Add `raw_ref_macros` feature
* Handle version and shell completions
* Let clap handle missing headers
* abstract away the control-flow for applying args
* delete duplicated default logic for `--anon-fields-prefix`
* Formatted `CONTRIBUTING.md`. - Passes `markdownlint` (mostly) - Removed `$` from shell instructions, as to be more copy/paste friendly - Annotated code-like things with backticks. - Annotated all shell blocks with `sh` to format nicely on GitHub.com.
* make `RegexSet` non-public
* Move CLI options to `bindgen`
* Set edition for `bindgen-integration`
* Use workspace inheritance for dependencies
* Changelog: Move --with-attribute-custom to unreleased
* Restrict release workflow to pushes
* Use `field_visibility` callback for new-type aliases
* Wrap __library.get calls for variables if wrap_unsafe_ops
* Add test showing bad behavior for non-functions
* Wrap libloading::Library::new call in unsafe if --wrap-unsafe-ops
* update small typo
* ci: Move forward Rust for Linux version
* Docs: Fix example code error
* Update `cargo-dist`
* Update documentation of Debian dependencies
* Update libc.
* Require libclang 9.0 or newer Adds a check for the loaded libclang version and logs a warning if the version is unsupported.
* Add additional helpers to bitfield data structure
* ci: Add Rust for Linux
* Update CHANGELOG.md
* Stabilize `--wrap-static-fns`
* Update CHANGELOG.md
* Use `\r\n\r\n` on Windows
* Add support for custom attributes
* update to use annotate-snippets 0.11.4
* update to annotate-snippets 0.10.2
* ir: Dig into atomic types.
* Explain how to generate documentation for system headers
* Only publish on crates.io if the workflow event is called `'Release'`
* Update cargo-dist config
-------------------------------------------------------------------
Wed Aug 21 06:48:23 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to version 0.70.1:
* Revert "Only trigger the publish workflow manually"
* Fix `collapsible_match` clippy warning
* Add `#[clippy::allow]` attribute to `const` layout tests
* Fix creduce example
* Fix creduce install link
* Fix create-tag.yml
-------------------------------------------------------------------
Mon Aug 19 19:03:36 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to version 0.70.0:
* Fix generation of extern "C" blocks with llvm 18
* Update shlex dependency (RUSTSEC-2024-0006, boo#1229375)
* Try to avoid repr(packed) for explicitly aligned types when not
needed
* Support Float16
* Fix alignment contribution from bitfields
* Replace peeking_take_while by itertools
* Add blocklist_var
* Stabilize thiscall_abi
* Allow older itertools
* Add target mappings for riscv64imac and riscv32imafc.
* Add a complex macro fallback API
* Add option to use DST structs for flexible arrays
* Add option to dynamically load variables
* Add option in CLI to use rustified non-exhaustive enums
* Remove which and lazy-static dependencies
* Generate compile-time layout tests
* Print bindgen-cli errors to stderr instead of stdout
* Fix --formatter=prettyplease not working in bindgen-cli by
adding prettyplease feature and enabling it by default for
bindgen-cli
* Fix --allowlist-item so anonymous enums are no longer ignored
* Use clang_getFileLocation instead of clang_getSpellingLocation
to fix clang-trun
* Fix generated constants: f64::INFINITY, f64::NEG_ INFINITY,
f64::NAN
* Update tempfile and rustix due to GHSA-c827-hfw6-qwvm (boo#1229376)
-------------------------------------------------------------------
Wed Nov 15 15:11:25 UTC 2023 - Paolo Perego <paolo.perego@suse.com>
- Updated to version 0.69.1
- Changed vendor directory archive format
-------------------------------------------------------------------
Sun Jan 15 14:20:26 UTC 2023 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 0.63.0