mun-lang / mun

Source code for the Mun language and runtime.
https://mun-lang.org
Other
1.87k stars 73 forks source link

bump: update cbindgen requirement from = 0.23.0 to = 0.24.3 #414

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on cbindgen to permit the latest version.

Release notes

Sourced from cbindgen's releases.

v0.24.3

  • Make struct expressions correctly generated through typedefs (#768).
Changelog

Sourced from cbindgen's changelog.

0.24.3

  * Make struct expressions correctly generated through typedefs ([#768](https://github.com/eqrion/cbindgen/issues/768)).

0.24.2

  * Make bitfield operators use explicit constructors.

0.24.1

  * Add support for unary negation ([#765](https://github.com/eqrion/cbindgen/issues/765)).
  * Make more bitfield operators constexpr ([#765](https://github.com/eqrion/cbindgen/issues/765)).

0.24.0

  * Basic const generic support ([#759](https://github.com/eqrion/cbindgen/issues/759), [#760](https://github.com/eqrion/cbindgen/issues/760) [#762](https://github.com/eqrion/cbindgen/issues/762)).
  * Suffixes on integer literals are now honored to avoid narrowing ([#764](https://github.com/eqrion/cbindgen/issues/764)).

0.23.0

  * Better support for constexpr. ([#756](https://github.com/eqrion/cbindgen/issues/756))
  * constexpr is now enabled by default in C++ mode. You can use const.allow_constexpr=false to revert to previous behavior. ([#756](https://github.com/eqrion/cbindgen/issues/756))
  * Minimum syn version no longer parses old rust code. ([#754](https://github.com/eqrion/cbindgen/issues/754))

0.22.0

  * Support rename rule for union body members ([#751](https://github.com/eqrion/cbindgen/issues/751)).
  * constant: Add support for associated constant expressions ([#752](https://github.com/eqrion/cbindgen/issues/752)).
  * Fix regression in CamelCase rename rule (should be lowerCamelCase) ([#750](https://github.com/eqrion/cbindgen/issues/750)).
  * enumeration: simplify standard types in variants ([#749](https://github.com/eqrion/cbindgen/issues/749)).
  * Avoid generating and writing bindings when called recursively ([#747](https://github.com/eqrion/cbindgen/issues/747)).
  * Cython: Omit per-variant tags in unions generated for Rust enums ([#748](https://github.com/eqrion/cbindgen/issues/748)).
  * Update various dependencies.

0.21.0

  * Update MSRV to 1.54.0
  * Update clap to 3.1.
  * Update heck to 0.4.0
  * unraw identifiers
  * Honor documentation_length in Cython.
  * Add documentation_style to with short and full options
  * Map RawFd to Int
  * Respect remove_underscores config when prefixing name to enum

0.20.0

 * Add Builder::with_using_namespaces. ([#688](https://github.com/eqrion/cbindgen/issues/688))
 * Ignore PhantomPinned. ([#695](https://github.com/eqrion/cbindgen/issues/695))
 * Simplify Pin<T> to T. ([#697](https://github.com/eqrion/cbindgen/issues/697))

... (truncated)

Commits
  • f43ccfc Bump version.
  • 116a18c tests: Add a test for struct constants going through typedefs.
  • fc98189 bindings: Peel through typedefs for struct constant generation.
  • 4b30c56 Rustfmt recent changes.
  • 3d06ae1 Version bump.
  • 80da604 bitflags: Be explicit in binary operators and such.
  • 9855f90 Version bump.
  • 5da3715 constant: Add support for unary negation.
  • 021d09d bitflags: Make more operations constexpr.
  • 2e2c87e Fix changelog typo.
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
baszalmstra commented 2 years ago

@Wodann the tests of this PR fail because we include the version of cbindgen in the generated file. I think we can also simply remove this, I don't know what the purpose is of having that in there other than that you can reproduce it later. Removing it would simplify these upgrades, as well as remove a hard constraint in the Cargo.toml. WDYT?

Wodann commented 2 years ago

@Wodann the tests of this PR fail because we include the version of cbindgen in the generated file. I think we can also simply remove this, I don't know what the purpose is of having that in there other than that you can reproduce it later. Removing it would simplify these upgrades, as well as remove a hard constraint in the Cargo.toml. WDYT?

The one value of having the version listed is that you can reproduce issues with a specific version of cbindgen. If you don't think that's worth it, feel free to leave it out during generation 🙂

baszalmstra commented 2 years ago

Cool, I'll remove it then. These upgrades should be very safe because we have a test that validates the output stays the same.

codecov[bot] commented 2 years ago

Codecov Report

Merging #414 (08f979a) into main (7b54057) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #414   +/-   ##
=======================================
  Coverage   83.81%   83.81%           
=======================================
  Files         273      273           
  Lines       16179    16179           
=======================================
  Hits        13560    13560           
  Misses       2619     2619           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7b54057...08f979a. Read the comment docs.