57 Commits

Author SHA256 Message Date
e2d8c14fb6 Accepting request 1321753 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1321753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=25
2025-12-10 14:29:31 +00:00
Wolfgang Rosenauer
9ee5909226 Accepting request 1318966 from home:tweakdeveloper:branches:devel:languages:rust
upgrade to latest upstream (v0.29.2)

OBS-URL: https://build.opensuse.org/request/show/1318966
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=54
2025-12-09 12:29:43 +00:00
0d9758fa2f Accepting request 1242958 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1242958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=24
2025-02-04 17:10:57 +00:00
9d72999d8f Accepting request 1242956 from home:firstyear:branches:devel:languages:rust
- Update to version 0.28.0+git0:
  * Release 0.28.0
  * tests: Fix symbol file and tests.
  * Appease clippy.
  * tests: Run rustfmt.
  * Add a way to generate a list of symbols for dynamic linkage, resolves #907
  * Add `unstable_ir` feature flag that makes the ir pub
  * Refactor arm64 build to matrix strategy
  * Add aarch64/arm64 to CI
  * Fix clippy warnings
  * newlines for constexpr
  * replace is_first_field to enumerate
  * Fix: avoid potential race in tests/profile.rs
  * Fix: Ignore `CARGO_BUILD_TARGET` in lib tests too
  * Fix: Ignore `CARGO_BUILD_TARGET` in tests
  * Add a test for mangling of array generics.
  * Implement mangling for arrays
  * ir: add support for UnsafeCell and SyncUnsafeCell
  * rename: Add a test for rename-all=prefix:
  * Less clone for rename-all.
  * Add rename-all=prefix:
  * Fix local override of enum prefix-with-name
  * Also update syn in the Cargo.toml.
  * utilities: Minor clean-up.
  * Parse `unsafe` attributes
  * Deduplicate the code that turns transparent structs into typedefs
  * Bump MSRV again for clap.
  * Cargo update and version bump.
  * Update CHANGES since v0.26.0
  * Output condition for globals.

OBS-URL: https://build.opensuse.org/request/show/1242956
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=52
2025-02-04 04:43:59 +00:00
8125d93f6d Accepting request 1112098 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1112098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=23
2023-09-22 19:46:59 +00:00
3235b0d884 Accepting request 1110960 from home:firstyear:branches:devel:languages:rust
- Update to version 0.26.0+git0:
  * v0.26.0
  * Update MSRV in Readme
  * Add support for out-of-line bitfields declarations
  * Update URLs
  * Bump clippy msrv to 1.64
  * Handle bitflags bits method calls
  * CHANGES: Note #[deprecated] support.
  * utilities: annotation: Clean-up deprecated parsing and getter.
  * Add support for #[deprecated].
  * Support "C-unwind" ABI

OBS-URL: https://build.opensuse.org/request/show/1110960
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=50
2023-09-19 00:58:38 +00:00
bc17617e2f Accepting request 1109135 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1109135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=22
2023-09-06 16:56:25 +00:00
Wolfgang Rosenauer
4de645a0b7 Accepting request 1108962 from home:firstyear:branches:devel:languages:rust
- Update to version 0.25.0+git0:
  * Fix minimal Rust version in CI
  * Revert "Upgrade clap 3 to clap 4"
  * Fix clippy warning
  * Fix CI
  * Update changelog for v0.25.0
  * CI: Replace forbidden actions with cli code
  * CI: Add semver checks to CI deploy job
  * msrv 1.64
  * Upgrade clap 3 to clap 4
  * Add: Add rust-toolchain.toml

- Automatic update of vendored dependencies

- Update to version 0.24.3+git0:
  * Bump version.
  * tests: Add a test for struct constants going through typedefs.
  * bindings: Peel through typedefs for struct constant generation.
  * Rustfmt recent changes.
  * Version bump.
  * bitflags: Be explicit in binary operators and such.
  * Version bump.
  * constant: Add support for unary negation.
  * bitflags: Make more operations constexpr.
  * Fix changelog typo.

OBS-URL: https://build.opensuse.org/request/show/1108962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=48
2023-09-05 19:00:42 +00:00
d92270712e Accepting request 991358 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/991358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=21
2022-08-03 19:15:48 +00:00
Wolfgang Rosenauer
e3170f6bd6 Accepting request 991356 from mozilla
minor version update required for Firefox 103

OBS-URL: https://build.opensuse.org/request/show/991356
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=46
2022-07-27 07:52:09 +00:00
Wolfgang Rosenauer
5c4ec57859 Accepting request 981230 from home:firstyear:branches:devel:languages:rust
- Update to version 0.24.2+git0:
  * Version bump.
  * bitflags: Be explicit in binary operators and such.
  * Version bump.
  * constant: Add support for unary negation.
  * bitflags: Make more operations constexpr.
  * Fix changelog typo.
  * Version bump.
  * constant: Support suffixes for integers that otherwise would be narrowed.
  * Fix specialization of `SomeType<N>` when `N` is a const parameter.
  * Minor refactor of ConstExpr::load().

OBS-URL: https://build.opensuse.org/request/show/981230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=45
2022-06-08 07:43:13 +00:00
a8529501ff Accepting request 972007 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/972007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=20
2022-04-22 19:53:33 +00:00
Wolfgang Rosenauer
31081eef5d Accepting request 971934 from home:firstyear:branches:devel:languages:rust
- Update to version 0.23.0+git0:
  * v0.23.0
  * constant: Make const.allow_constexpr default to true.
  * constant: Allow more constexpr constants.
  * Update syn dependency to at least 1.0.88
  * Fix #753

OBS-URL: https://build.opensuse.org/request/show/971934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=43
2022-04-22 06:17:28 +00:00
Wolfgang Rosenauer
77bd315601 Accepting request 970923 from home:firstyear:branches:devel:languages:rust
- Update to version 0.22.0+git0:
  * v0.22.0
  * Support rename rule for union body members.
  * constant: Add support for other expressions WebRender uses.
  * constant: Add support for associated constant expressions.
  * Fix regression in CamelCase rename rule (should be lowerCamelCase)
  * enumeration: simplify standard types in variants.
  * Avoid generating and writing bindings when called recursively
  * Cython: Omit per-variant tags in unions generated for Rust enums
  * Update various dependencies.
  * v0.21.0

OBS-URL: https://build.opensuse.org/request/show/970923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=42
2022-04-20 12:57:13 +00:00
a83c607b4c Accepting request 966925 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/966925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=19
2022-04-07 22:26:33 +00:00
Wolfgang Rosenauer
c049d8e474 Accepting request 966922 from home:firstyear:branches:devel:languages:rust
Automatic update of vendored dependencies

OBS-URL: https://build.opensuse.org/request/show/966922
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=40
2022-04-05 06:55:01 +00:00
5c0afb0e0a Accepting request 965381 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/965381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=18
2022-03-31 15:18:25 +00:00
Wolfgang Rosenauer
8b9f8272fc Accepting request 965265 from home:firstyear:branches:devel:languages:rust
- Update to version 0.21.0+git0:
  * v0.21.0
  * Update MSRV to 1.54.0
  * Update clap to 3.1
  * Update heck to 0.4.0
  * Remove etesync from readme.
  * Update docs.md
  * Remove wgpu-native from users.
  * Address clippy lint.
  * unraw the identifiers
  * Silence some dead_code warnings.

OBS-URL: https://build.opensuse.org/request/show/965265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=38
2022-03-28 13:45:29 +00:00
2631330b56 Accepting request 909327 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/909327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=17
2021-08-02 10:04:19 +00:00
Wolfgang Rosenauer
cdfd196346 Accepting request 909276 from home:firstyear:branches:devel:languages:rust
- Update to version 0.20.0+git0:
  * v0.20.0
  * Don't use `check` profile when expanding code on a release build
  * Update --pretty=expanded to -Zunpretty=expanded
  * Fix some clippy lints.
  * Simplify Pin<T> to T
  * add `Builder::with_using_namespaces`
  * Ignore PhantomPinned
  * Move the target-guessing code from #676 to its own function.
  * Only fetch dependencies for current platform by default (#676)
  * v0.19.0

OBS-URL: https://build.opensuse.org/request/show/909276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=37
2021-07-30 07:31:48 +00:00
2a006026f7 Accepting request 904034 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/904034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=16
2021-07-07 16:29:37 +00:00
Wolfgang Rosenauer
237d16b09a Accepting request 904007 from home:firstyear:branches:devel:languages:rust
- Update vendored dependencies to resolve potential memory corruption
  in dependency ( RUSTSEC-2021-0003 )

OBS-URL: https://build.opensuse.org/request/show/904007
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=36
2021-07-05 06:29:14 +00:00
363e1ab5a2 Accepting request 901198 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/901198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=15
2021-06-24 16:22:17 +00:00
Wolfgang Rosenauer
a57e697a67 Accepting request 901057 from home:firstyear:branches:devel:languages:rust
- Remove unnecessary dependency on rust-std-static (implied by rust)

OBS-URL: https://build.opensuse.org/request/show/901057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=34
2021-06-21 15:42:31 +00:00
7cf91f6b06 Accepting request 898581 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/898581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=14
2021-06-12 18:05:24 +00:00
Wolfgang Rosenauer
3ad132f213 Accepting request 898574 from home:firstyear:branches:devel:languages:rust
- Resolve issue with UPDATING.md in submission

OBS-URL: https://build.opensuse.org/request/show/898574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=32
2021-06-09 05:54:17 +00:00
662dc78004 Accepting request 897041 from home:firstyear:branches:devel:languages:rust
- Update to to build from _service with cargo-audit integration

OBS-URL: https://build.opensuse.org/request/show/897041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=31
2021-06-09 00:44:26 +00:00
06bd2becd4 Accepting request 886803 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/886803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=13
2021-04-21 18:58:10 +00:00
3205078a34 Accepting request 886702 from mozilla
OBS-URL: https://build.opensuse.org/request/show/886702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=29
2021-04-19 23:43:45 +00:00
948f72758b Accepting request 864245 from devel:languages:rust
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/864245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=12
2021-01-20 17:23:18 +00:00
Wolfgang Rosenauer
27685d8e41 Accepting request 862545 from home:MSirringhaus:branches:devel:languages:rust
- Update to 0.16.0
   * Remove artificial restriction on lifetime parameters on enums
   * Add an option for converting usize/isize into size_t/ptrdiff_t.
   * Allow controlling the cargo profile used for expansion.
   * Support wider range of expressions in enum discriminants
   * Support generation of Cython bindings
   * Fixed some issues with style=tag and recursive structs
   * Default C style to Both (as specified in docs)
   * Fix resolution of path dependencies from certain modules.
   * Support inlined definitions for tuple variants with a single field in C

OBS-URL: https://build.opensuse.org/request/show/862545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=27
2021-01-12 13:20:42 +00:00
19e7326875 Accepting request 842309 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/842309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=11
2020-10-20 14:03:43 +00:00
Wolfgang Rosenauer
dac410b4e3 Accepting request 841636 from mozilla
OBS-URL: https://build.opensuse.org/request/show/841636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=25
2020-10-17 14:51:27 +00:00
fce8114b06 Accepting request 822975 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/822975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=10
2020-07-28 15:24:33 +00:00
Wolfgang Rosenauer
02161482da Accepting request 822462 from mozilla
- update to 0.14.3
  * Introduce cbindgen:ignore comment annotation, to allow ignoring items or modules.
  * Support for casts in constant expressions.
  * Make a non-fatal error a warning message.
  * Add a --metadata option to the CLI, to allow passing pre-computed cargo metadata.
  0.14.2
  * Fixed minimal dependency versions.
  * Add an option to write pragma once.
  * Fix submodule scanning for implicit Rust 2018 modules.
  * Fix dependency parsing / scanning to handle target-specific versions.
  * Use heck for case conversion.
  * Add support for verbatim content after includes.
  * Allow to add attributes to most generated functions.

OBS-URL: https://build.opensuse.org/request/show/822462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=23
2020-07-27 13:03:51 +00:00
24b931a0ae Accepting request 810403 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/810403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=9
2020-06-05 18:01:51 +00:00
Wolfgang Rosenauer
196cc4c802 Accepting request 809195 from mozilla
- Update to version 0.14.1
  0.14.1
  * Handle mangling pointers.
  * Unconditionally generate a return statement in partialeq implementations.
  0.14.0
  * Minor tweak at how [export.exclude] is handled to allow excluding
    generic instantiations in C mode.
  * Documented cpp_compat option.
  * Fixed a panic when parsing associated constants for a built-in type.
  0.13.2
  * Constants now have suitable documentation.
  * Fixed some C warnings by emitting void when there are no arguments.
  * Avoids reading cargo.toml when not needed, which can cause panics
    in workspace situations.
  * Only write `default` cases if the switch is not exhaustive.
  * Some warnings have been refined.
  * Code generation for static arrays has been fixed.
  * Opt-in support for constexpr in constants.
  * Fix C code generation and some warnings when extremely large
    constants are used.
  * Proper escaping of enum variants and fields.
  * Added support for RefCell (as an opaque type) and Cell.
- required for Firefox >= 77.0

OBS-URL: https://build.opensuse.org/request/show/809195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=21
2020-05-30 21:26:32 +00:00
83077e73b7 Accepting request 789912 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/789912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=8
2020-03-31 15:13:07 +00:00
Wolfgang Rosenauer
af2a5e1763 Accepting request 789911 from mozilla
- remove more irrelevant build artefacts

OBS-URL: https://build.opensuse.org/request/show/789911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=19
2020-03-30 21:54:44 +00:00
Wolfgang Rosenauer
21474d1a63 Accepting request 789903 from mozilla
- Update to version 0.13.1
  * Support `#[cfg]` on individual enum variants
- required for Firefox >= 75

OBS-URL: https://build.opensuse.org/request/show/789903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=18
2020-03-30 21:12:54 +00:00
50c70d6de3 Accepting request 782698 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/782698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=7
2020-03-11 17:33:21 +00:00
49f0c0dec8 Accepting request 782646 from mozilla
- Update to version 0.13.0
  * https://docs.rs/crate/cbindgen/0.13.0/source/CHANGES
- required for Firefox >= 74

OBS-URL: https://build.opensuse.org/request/show/782646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=16
2020-03-08 15:16:12 +00:00
Oliver Kurz
1f0c129e2f Accepting request 772453 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/772453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=6
2020-02-14 15:28:01 +00:00
Luke Jones
a4b8cb094f Accepting request 772452 from mozilla
Update required for upcoming Firefox 73.
Please push to TW asap. Thanks.

- Update to version 0.12.0
  * https://docs.rs/crate/cbindgen/0.12.0/source/CHANGES
- required for Firefox >= 73

OBS-URL: https://build.opensuse.org/request/show/772452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=14
2020-02-09 08:28:29 +00:00
05a8d3ecfa Accepting request 741334 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/741334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=5
2019-10-22 13:42:11 +00:00
Luke Jones
212c9013f8 Accepting request 741162 from mozilla
this version is required for Firefox 70.0 which will be released next week

- Update to version 0.9.1
  * Various improvements to comment output.
  * Fixed expand when ran from build.rs.
  * More debugging output for expansion.
  * New option to add a default private constructor in C++ tagged enums.
  * Syn and related dependencies updated to 1.0.

OBS-URL: https://build.opensuse.org/request/show/741162
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=12
2019-10-20 17:35:28 +00:00
8d04f46ba1 Accepting request 721882 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/721882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=4
2019-08-13 11:12:05 +00:00
Luke Jones
4a058bd38b Accepting request 721881 from home:luke_nukem:branches:devel:languages:rust
- Update to version 0.9.0
    * Support to generate C headers with C++ compatibility
    * Fix include guard generation when no_includes is set
    * Fix crate parsing order so that types from the binding crate
      are preferred in presence of conflicting names
    * Add extra_bindings option to generate bindings for dependencies
    * Clap dependency is optional now so it's feasible to avoid
      building it if cbindgen is used as a library

OBS-URL: https://build.opensuse.org/request/show/721881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=10
2019-08-08 22:33:06 +00:00
1841a24ec5 Accepting request 705196 from devel:languages:rust
* there is no upstream changelog provided (forwarded request 705194 from wrosenauer)

OBS-URL: https://build.opensuse.org/request/show/705196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-cbindgen?expand=0&rev=3
2019-05-27 06:28:48 +00:00
f2a8e9ac64 Accepting request 705194 from mozilla
* there is no upstream changelog provided

OBS-URL: https://build.opensuse.org/request/show/705194
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=8
2019-05-24 09:13:16 +00:00