Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rust-bindgen for openSUSE:Factory checked in at 2026-04-18 21:31:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust-bindgen (Old) and /work/SRC/openSUSE:Factory/.rust-bindgen.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust-bindgen" Sat Apr 18 21:31:25 2026 rev:6 rq:1340809 version:0.72.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rust-bindgen/rust-bindgen.changes 2025-08-06 14:32:41.086508967 +0200 +++ /work/SRC/openSUSE:Factory/.rust-bindgen.new.11940/rust-bindgen.changes 2026-04-18 21:31:59.846876317 +0200 @@ -1,0 +2,9 @@ +Tue Mar 17 22:43:46 UTC 2026 - Aaron Puchert <[email protected]> + +- Update to version 0.72.1: + * chore: Release + * Update changelog. + * clang: Push the fix for #3277 into Type::declaration. + * Get the type's definition in CompInfo::from_ty + +------------------------------------------------------------------- Old: ---- rust-bindgen-0.72.0.tar.zst New: ---- rust-bindgen-0.72.1.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust-bindgen.spec ++++++ --- /var/tmp/diff_new_pack.EN0FST/_old 2026-04-18 21:32:00.614907556 +0200 +++ /var/tmp/diff_new_pack.EN0FST/_new 2026-04-18 21:32:00.626908044 +0200 @@ -1,7 +1,7 @@ # # spec file for package rust-bindgen # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2023, Martin Hauke <[email protected]> # Copyright (c) 2024 Andreas Stieger <[email protected]> # @@ -19,7 +19,7 @@ Name: rust-bindgen -Version: 0.72.0 +Version: 0.72.1 Release: 0 Summary: Automatically generates Rust FFI bindings to C and C++ libraries License: BSD-3-Clause ++++++ _service ++++++ --- /var/tmp/diff_new_pack.EN0FST/_old 2026-04-18 21:32:00.682910322 +0200 +++ /var/tmp/diff_new_pack.EN0FST/_new 2026-04-18 21:32:00.690910647 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/rust-lang/rust-bindgen.git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="scm">git</param> - <param name="revision">v0.72.0</param> + <param name="revision">v0.72.1</param> <param name="match-tag">*</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-replacement">\1</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.EN0FST/_old 2026-04-18 21:32:00.734912437 +0200 +++ /var/tmp/diff_new_pack.EN0FST/_new 2026-04-18 21:32:00.738912600 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/rust-lang/rust-bindgen.git</param> - <param name="changesrevision">d0e7d6b5b763e93dd38f9ece05230979ede95a0a</param> + <param name="changesrevision">d874de8d646d9b8a3e7ba2db2bcd52f2fba8f1f5</param> </service> </servicedata> (No newline at EOF) ++++++ rust-bindgen-0.72.0.tar.zst -> rust-bindgen-0.72.1.tar.zst ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/CHANGELOG.md new/rust-bindgen-0.72.1/CHANGELOG.md --- old/rust-bindgen-0.72.0/CHANGELOG.md 2025-06-08 13:15:47.000000000 +0200 +++ new/rust-bindgen-0.72.1/CHANGELOG.md 2025-08-31 19:50:04.000000000 +0200 @@ -7,220 +7,226 @@ - [Removed](#removed) - [Fixed](#fixed) - [Security](#security) -- [0.72.0 (2025-06-08)](#0720-2025-06-08) +- [0.72.1 (2025-08-31)](#0721-2025-08-31) - [Added](#added-1) - [Changed](#changed-1) - [Removed](#removed-1) - [Fixed](#fixed-1) -- [v0.71.1 (2024-12-09)](#v0711-2024-12-09) - - [Fixed](#fixed-2) -- [0.71.0 (2024-12-06)](#0710-2024-12-06) + - [Security](#security-1) +- [0.72.0 (2025-06-08)](#0720-2025-06-08) - [Added](#added-2) - [Changed](#changed-2) - [Removed](#removed-2) + - [Fixed](#fixed-2) +- [v0.71.1 (2024-12-09)](#v0711-2024-12-09) - [Fixed](#fixed-3) -- [0.70.1 (2024-08-20)](#0701-2024-08-20) +- [0.71.0 (2024-12-06)](#0710-2024-12-06) - [Added](#added-3) - [Changed](#changed-3) - [Removed](#removed-3) - [Fixed](#fixed-4) - - [Security](#security-1) -- [0.70.0 (2024-08-16)](#0700-2024-08-16) +- [0.70.1 (2024-08-20)](#0701-2024-08-20) - [Added](#added-4) - [Changed](#changed-4) - [Removed](#removed-4) - [Fixed](#fixed-5) - [Security](#security-2) -- [0.69.4 (2024-02-04)](#0694-2024-02-04) +- [0.70.0 (2024-08-16)](#0700-2024-08-16) - [Added](#added-5) - [Changed](#changed-5) - [Removed](#removed-5) - [Fixed](#fixed-6) - [Security](#security-3) -- [0.69.3 (2024-02-04)](#0693-2024-02-04) +- [0.69.4 (2024-02-04)](#0694-2024-02-04) - [Added](#added-6) - [Changed](#changed-6) - [Removed](#removed-6) - [Fixed](#fixed-7) - [Security](#security-4) -- [0.69.2 (2024-01-13)](#0692-2024-01-13) +- [0.69.3 (2024-02-04)](#0693-2024-02-04) - [Added](#added-7) - [Changed](#changed-7) - [Removed](#removed-7) - [Fixed](#fixed-8) - [Security](#security-5) -- [0.69.1 (2023-11-02)](#0691-2023-11-02) - - [Fixed](#fixed-9) -- [0.69.0 (2023-11-01)](#0690-2023-11-01) +- [0.69.2 (2024-01-13)](#0692-2024-01-13) - [Added](#added-8) - [Changed](#changed-8) - [Removed](#removed-8) - - [Fixed](#fixed-10) + - [Fixed](#fixed-9) - [Security](#security-6) -- [0.68.1](#0681) - - [Fixed](#fixed-11) -- [0.68.0](#0680) +- [0.69.1 (2023-11-02)](#0691-2023-11-02) + - [Fixed](#fixed-10) +- [0.69.0 (2023-11-01)](#0690-2023-11-01) - [Added](#added-9) - [Changed](#changed-9) - [Removed](#removed-9) + - [Fixed](#fixed-11) + - [Security](#security-7) +- [0.68.1](#0681) - [Fixed](#fixed-12) -- [0.67.0](#0670) -- [0.66.1](#0661) - - [Removed](#removed-10) -- [0.66.0](#0660) +- [0.68.0](#0680) - [Added](#added-10) - [Changed](#changed-10) - - [Removed](#removed-11) -- [0.65.1](#0651) + - [Removed](#removed-10) - [Fixed](#fixed-13) -- [0.65.0](#0650) +- [0.67.0](#0670) +- [0.66.1](#0661) + - [Removed](#removed-11) +- [0.66.0](#0660) - [Added](#added-11) - [Changed](#changed-11) - [Removed](#removed-12) -- [0.64.0](#0640) +- [0.65.1](#0651) + - [Fixed](#fixed-14) +- [0.65.0](#0650) - [Added](#added-12) - [Changed](#changed-12) -- [0.63.0](#0630) + - [Removed](#removed-13) +- [0.64.0](#0640) - [Added](#added-13) - [Changed](#changed-13) - - [Removed](#removed-13) -- [0.62.0](#0620) +- [0.63.0](#0630) - [Added](#added-14) - [Changed](#changed-14) - - [Fixed](#fixed-14) -- [0.61.0](#0610) + - [Removed](#removed-14) +- [0.62.0](#0620) - [Added](#added-15) - [Changed](#changed-15) - [Fixed](#fixed-15) -- [0.60.1](#0601) - - [Fixed](#fixed-16) -- [0.60.0](#0600) +- [0.61.0](#0610) - [Added](#added-16) - - [Fixed](#fixed-17) - [Changed](#changed-16) - - [Removed](#removed-14) + - [Fixed](#fixed-16) +- [0.60.1](#0601) + - [Fixed](#fixed-17) +- [0.60.0](#0600) + - [Added](#added-17) + - [Fixed](#fixed-18) + - [Changed](#changed-17) + - [Removed](#removed-15) - [0.59.2](#0592) - [0.59.1](#0591) - - [Fixed](#fixed-18) -- [0.59.0](#0590) - - [Added](#added-17) - [Fixed](#fixed-19) - - [Changed](#changed-17) -- [0.58.1](#0581) +- [0.59.0](#0590) - [Added](#added-18) -- [0.58.0](#0580) - - [Added](#added-19) - [Fixed](#fixed-20) - [Changed](#changed-18) - - [Deprecated](#deprecated) - - [Removed](#removed-15) - - [Fixed](#fixed-21) - - [Security](#security-7) -- [0.57.0](#0570) +- [0.58.1](#0581) + - [Added](#added-19) +- [0.58.0](#0580) - [Added](#added-20) + - [Fixed](#fixed-21) + - [Changed](#changed-19) + - [Deprecated](#deprecated) + - [Removed](#removed-16) - [Fixed](#fixed-22) -- [0.56.0](#0560) + - [Security](#security-8) +- [0.57.0](#0570) - [Added](#added-21) - - [Changed](#changed-19) - [Fixed](#fixed-23) -- [0.55.1](#0551) - - [Fixed](#fixed-24) -- [0.55.0](#0550) - - [Removed](#removed-16) +- [0.56.0](#0560) - [Added](#added-22) - [Changed](#changed-20) + - [Fixed](#fixed-24) +- [0.55.1](#0551) - [Fixed](#fixed-25) -- [0.54.1](#0541) +- [0.55.0](#0550) + - [Removed](#removed-17) - [Added](#added-23) - [Changed](#changed-21) - [Fixed](#fixed-26) -- [0.54.0](#0540) +- [0.54.1](#0541) - [Added](#added-24) - [Changed](#changed-22) - [Fixed](#fixed-27) -- [0.53.3](#0533) +- [0.54.0](#0540) - [Added](#added-25) + - [Changed](#changed-23) - [Fixed](#fixed-28) +- [0.53.3](#0533) + - [Added](#added-26) + - [Fixed](#fixed-29) - [0.53.2](#0532) - - [Changed](#changed-23) + - [Changed](#changed-24) - [0.53.1](#0531) - - [Added](#added-26) -- [0.53.0](#0530) - [Added](#added-27) - - [Changed](#changed-24) - - [Fixed](#fixed-29) -- [0.52.0](#0520) +- [0.53.0](#0530) - [Added](#added-28) - [Changed](#changed-25) - [Fixed](#fixed-30) -- [0.51.1](#0511) - - [Fixed](#fixed-31) +- [0.52.0](#0520) + - [Added](#added-29) - [Changed](#changed-26) -- [0.51.0](#0510) + - [Fixed](#fixed-31) +- [0.51.1](#0511) - [Fixed](#fixed-32) - [Changed](#changed-27) - - [Added](#added-29) -- [0.50.0](#0500) +- [0.51.0](#0510) + - [Fixed](#fixed-33) + - [Changed](#changed-28) - [Added](#added-30) -- [0.49.3](#0493) +- [0.50.0](#0500) - [Added](#added-31) +- [0.49.3](#0493) + - [Added](#added-32) - [0.49.2](#0492) - - [Changed](#changed-28) -- [0.49.1](#0491) - - [Fixed](#fixed-33) - [Changed](#changed-29) -- [0.49.0](#0490) - - [Added](#added-32) +- [0.49.1](#0491) - [Fixed](#fixed-34) - [Changed](#changed-30) -- [0.48.1](#0481) +- [0.49.0](#0490) + - [Added](#added-33) - [Fixed](#fixed-35) -- [0.48.0](#0480) - [Changed](#changed-31) +- [0.48.1](#0481) - [Fixed](#fixed-36) -- [0.47.4](#0474) - - [Added](#added-33) -- [0.47.3](#0473) +- [0.48.0](#0480) - [Changed](#changed-32) -- [0.47.2](#0472) - [Fixed](#fixed-37) -- [0.47.1](#0471) +- [0.47.4](#0474) + - [Added](#added-34) +- [0.47.3](#0473) - [Changed](#changed-33) +- [0.47.2](#0472) - [Fixed](#fixed-38) -- [0.47.0](#0470) +- [0.47.1](#0471) - [Changed](#changed-34) - [Fixed](#fixed-39) -- [0.33.1 .. 0.46.0](#0331--0460) - - [Added](#added-34) - - [Removed](#removed-17) +- [0.47.0](#0470) - [Changed](#changed-35) - [Fixed](#fixed-40) -- [0.33.1](#0331) +- [0.33.1 .. 0.46.0](#0331--0460) + - [Added](#added-35) + - [Removed](#removed-18) + - [Changed](#changed-36) - [Fixed](#fixed-41) +- [0.33.1](#0331) + - [Fixed](#fixed-42) - [0.33.0](#0330) - [0.32.2](#0322) - - [Fixed](#fixed-42) -- [0.32.1](#0321) - [Fixed](#fixed-43) -- [0.32.0](#0320) - - [Added](#added-35) - - [Changed](#changed-36) +- [0.32.1](#0321) - [Fixed](#fixed-44) -- [0.31.0](#0310) +- [0.32.0](#0320) - [Added](#added-36) - [Changed](#changed-37) - - [Deprecated](#deprecated-1) - - [Removed](#removed-18) - [Fixed](#fixed-45) -- [0.30.0](#0300) +- [0.31.0](#0310) - [Added](#added-37) - [Changed](#changed-38) - - [Deprecated](#deprecated-2) + - [Deprecated](#deprecated-1) + - [Removed](#removed-19) - [Fixed](#fixed-46) -- [0.29.0](#0290) +- [0.30.0](#0300) - [Added](#added-38) - [Changed](#changed-39) + - [Deprecated](#deprecated-2) - [Fixed](#fixed-47) +- [0.29.0](#0290) + - [Added](#added-39) + - [Changed](#changed-40) + - [Fixed](#fixed-48) <!-- END doctoc generated TOC please keep comment here to allow auto update --> @@ -232,6 +238,14 @@ ## Fixed ## Security +# 0.72.1 (2025-08-31) +## Added +## Changed +## Removed +## Fixed + * Fixed a bad interaction with upcoming clang 22 (#3278). +## Security + # 0.72.0 (2025-06-08) ## Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/Cargo.lock new/rust-bindgen-0.72.1/Cargo.lock --- old/rust-bindgen-0.72.0/Cargo.lock 2025-06-08 13:15:47.000000000 +0200 +++ new/rust-bindgen-0.72.1/Cargo.lock 2025-08-31 19:50:04.000000000 +0200 @@ -35,7 +35,7 @@ [[package]] name = "bindgen" -version = "0.72.0" +version = "0.72.1" dependencies = [ "annotate-snippets", "bitflags 2.2.1", @@ -56,7 +56,7 @@ [[package]] name = "bindgen-cli" -version = "0.72.0" +version = "0.72.1" dependencies = [ "bindgen", "env_logger 0.10.0", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/Cargo.toml new/rust-bindgen-0.72.1/Cargo.toml --- old/rust-bindgen-0.72.0/Cargo.toml 2025-06-08 13:15:47.000000000 +0200 +++ new/rust-bindgen-0.72.1/Cargo.toml 2025-08-31 19:50:04.000000000 +0200 @@ -22,7 +22,7 @@ # All dependency version management is centralized here [workspace.dependencies] annotate-snippets = "0.11.4" -bindgen = { version = "0.72.0", path = "./bindgen", default-features = false } +bindgen = { version = "0.72.1", path = "./bindgen", default-features = false } bitflags = "2.2.1" block = "0.1" cc = "1.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/bindgen/Cargo.toml new/rust-bindgen-0.72.1/bindgen/Cargo.toml --- old/rust-bindgen-0.72.0/bindgen/Cargo.toml 2025-06-08 13:15:47.000000000 +0200 +++ new/rust-bindgen-0.72.1/bindgen/Cargo.toml 2025-08-31 19:50:04.000000000 +0200 @@ -16,7 +16,7 @@ repository = "https://github.com/rust-lang/rust-bindgen" documentation = "https://docs.rs/bindgen" homepage = "https://rust-lang.github.io/rust-bindgen/" -version = "0.72.0" +version = "0.72.1" build = "build.rs" rust-version.workspace = true edition.workspace = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/bindgen/clang.rs new/rust-bindgen-0.72.1/bindgen/clang.rs --- old/rust-bindgen-0.72.0/bindgen/clang.rs 2025-06-08 13:15:47.000000000 +0200 +++ new/rust-bindgen-0.72.1/bindgen/clang.rs 2025-08-31 19:50:04.000000000 +0200 @@ -1211,11 +1211,11 @@ /// Get a cursor pointing to this type's declaration. pub(crate) fn declaration(&self) -> Cursor { - unsafe { - Cursor { - x: clang_getTypeDeclaration(self.x), - } - } + let decl = Cursor { + x: unsafe { clang_getTypeDeclaration(self.x) }, + }; + // Prior to clang 22, the declaration pointed to the definition. + decl.definition().unwrap_or(decl) } /// Get the canonical declaration of this type, if it is available. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/bindgen-cli/Cargo.toml new/rust-bindgen-0.72.1/bindgen-cli/Cargo.toml --- old/rust-bindgen-0.72.0/bindgen-cli/Cargo.toml 2025-06-08 13:15:47.000000000 +0200 +++ new/rust-bindgen-0.72.1/bindgen-cli/Cargo.toml 2025-08-31 19:50:04.000000000 +0200 @@ -13,7 +13,7 @@ repository = "https://github.com/rust-lang/rust-bindgen" documentation = "https://docs.rs/bindgen" homepage = "https://rust-lang.github.io/rust-bindgen/" -version = "0.72.0" +version = "0.72.1" rust-version.workspace = true edition.workspace = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/bindgen-tests/tests/expectations/tests/nested-class-field.rs new/rust-bindgen-0.72.1/bindgen-tests/tests/expectations/tests/nested-class-field.rs --- old/rust-bindgen-0.72.0/bindgen-tests/tests/expectations/tests/nested-class-field.rs 1970-01-01 01:00:00.000000000 +0100 +++ new/rust-bindgen-0.72.1/bindgen-tests/tests/expectations/tests/nested-class-field.rs 2025-08-31 19:50:04.000000000 +0200 @@ -0,0 +1,22 @@ +#![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals)] +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct A { + pub _address: u8, +} +#[allow(clippy::unnecessary_operation, clippy::identity_op)] +const _: () = { + ["Size of A"][::std::mem::size_of::<A>() - 1usize]; + ["Alignment of A"][::std::mem::align_of::<A>() - 1usize]; +}; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct A_I { + pub i: ::std::os::raw::c_int, +} +#[allow(clippy::unnecessary_operation, clippy::identity_op)] +const _: () = { + ["Size of A_I"][::std::mem::size_of::<A_I>() - 4usize]; + ["Alignment of A_I"][::std::mem::align_of::<A_I>() - 4usize]; + ["Offset of field: A_I::i"][::std::mem::offset_of!(A_I, i) - 0usize]; +}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-bindgen-0.72.0/bindgen-tests/tests/headers/nested-class-field.hpp new/rust-bindgen-0.72.1/bindgen-tests/tests/headers/nested-class-field.hpp --- old/rust-bindgen-0.72.0/bindgen-tests/tests/headers/nested-class-field.hpp 1970-01-01 01:00:00.000000000 +0100 +++ new/rust-bindgen-0.72.1/bindgen-tests/tests/headers/nested-class-field.hpp 2025-08-31 19:50:04.000000000 +0200 @@ -0,0 +1,7 @@ +class A { + class I; +}; + +class A::I { + int i; +}; ++++++ rust-bindgen.obsinfo ++++++ --- /var/tmp/diff_new_pack.EN0FST/_old 2026-04-18 21:32:01.734953113 +0200 +++ /var/tmp/diff_new_pack.EN0FST/_new 2026-04-18 21:32:01.742953438 +0200 @@ -1,5 +1,5 @@ name: rust-bindgen -version: 0.72.0 -mtime: 1749381347 -commit: d0e7d6b5b763e93dd38f9ece05230979ede95a0a +version: 0.72.1 +mtime: 1756662604 +commit: d874de8d646d9b8a3e7ba2db2bcd52f2fba8f1f5 ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/rust-bindgen/vendor.tar.zst /work/SRC/openSUSE:Factory/.rust-bindgen.new.11940/vendor.tar.zst differ: char 7, line 1
