Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mozilla/cbindgen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.28.0
Choose a base ref
...
head repository: mozilla/cbindgen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.29.0
Choose a head ref
  • 17 commits
  • 97 files changed
  • 8 contributors

Commits on Feb 4, 2025

  1. Rename -Zparse-only

    This was changed in rust-lang/rust#133590
    badboy authored and emilio committed Feb 4, 2025
    Configuration menu
    Copy the full SHA
    31fc7f9 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2025

  1. Fixed handling of trait methods containing the unsafe attribute

    Daniil Klimov authored and emilio committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    cbc3fce View commit details
    Browse the repository at this point in the history
  2. Added tests for unsafe methotd's atributs

    Daniil Klimov authored and emilio committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    75b4804 View commit details
    Browse the repository at this point in the history
  3. Added test for unsafe(no_mangle) attribute

    Daniil Klimov authored and emilio committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    6d9da44 View commit details
    Browse the repository at this point in the history
  4. Fixed error generation of structures using the keyword of as inside a…

    …rrays
    Daniil Klimov authored and emilio committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    adc66a8 View commit details
    Browse the repository at this point in the history
  5. Added tests for as keyword inside array into structs

    Daniil Klimov authored and emilio committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    e854e88 View commit details
    Browse the repository at this point in the history
  6. The return of Cast is simplified

    Daniil Klimov authored and emilio committed Feb 21, 2025
    Configuration menu
    Copy the full SHA
    b105f55 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2025

  1. Fix generic with "void" default

    Fixes #993
    ogoffart authored and emilio committed May 14, 2025
    Configuration menu
    Copy the full SHA
    0328601 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2025

  1. docs.md: Fix deprecated_with_note and deprecated_variant_with_note be…

    …ing spelled as 'notes'
    Fulgen301 authored and emilio committed May 18, 2025
    Configuration menu
    Copy the full SHA
    36b9f0d View commit details
    Browse the repository at this point in the history

Commits on May 20, 2025

  1. Configuration menu
    Copy the full SHA
    9f9da30 View commit details
    Browse the repository at this point in the history
  2. Upgrade heck to 0.5

    youknowone authored and emilio committed May 20, 2025
    Configuration menu
    Copy the full SHA
    5ac9dc0 View commit details
    Browse the repository at this point in the history
  3. Add rename rule for generated associated constant

    In FFI Rust code it is often necessary to use constants instead of enums
    for compatibility reasons. The most natural thing to do to somewhat
    preserve grouping is to use associated constants. E.g.:
    
      ```rust
      #[repr(C)]
      struct Foo {}
    
      impl Foo {
          pub const FLAG1: u32 = 10;
          pub const FLAG2: u32 = 11;
          ...
      ```
    
    For the above, the generated constants would be called Foo_FLAG1 &
    Foo_FLAG2. Many Linux core C libraries adhere to a slightly different
    casing, however, where the type prefix is fully upper cased: FOO_FLAG1.
    Currently, it does not seem possible to generate such constants.
    
    This change introduces a new config option to structured types that
    enables this use case: the struct.rename_associated_constant option
    expects a rename rule (as other rename related config options) and
    applies it to the struct base name as used in conjunction with
    associated constants to form the final name of the constant.
    
    Signed-off-by: Daniel Müller <[email protected]>
    d-e-s-o authored and emilio committed May 20, 2025
    Configuration menu
    Copy the full SHA
    2320ac4 View commit details
    Browse the repository at this point in the history
  4. Github action: Add aarch64 to deploy

    cross compiler package (gcc-11-aarch64-linux-gnu) only available
    starting with 22.04
    NickeZ authored and emilio committed May 20, 2025
    Configuration menu
    Copy the full SHA
    4b2396d View commit details
    Browse the repository at this point in the history
  5. Add LiteralStructField

    youknowone authored and emilio committed May 20, 2025
    Configuration menu
    Copy the full SHA
    021f3f3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    14fa2d0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f3a0ecd View commit details
    Browse the repository at this point in the history
  8. Release 0.29.0

    emilio committed May 20, 2025
    Configuration menu
    Copy the full SHA
    8021542 View commit details
    Browse the repository at this point in the history
Loading