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: v0.14.3
Choose a base ref
...
head repository: mozilla/cbindgen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.14.4
Choose a head ref
  • 20 commits
  • 94 files changed
  • 7 contributors

Commits on Jul 7, 2020

  1. Configuration menu
    Copy the full SHA
    bf78df1 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Add tests

    Luni-4 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    274c974 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d7516e View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. Support "never" return type

    mexus authored and emilio committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    a94d6e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8eeb0bb View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2020

  1. function: Add support for wildcards in arguments.

    We don't support unnamed arguments, and we give a terrible error
    ("Parameter has an unsupported type.") when you use them.
    
    They're very simple to implement so we should just do it.
    emilio committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    5eae0bc View commit details
    Browse the repository at this point in the history
  2. function: Move function arguments into their own struct.

    This will simplify potentially adding annotations for them in #545.
    emilio committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    fea6fdb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3fe4903 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. tests: Fix errors when testing with clang.

    Fixes #554
    emilio committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    6ba31b4 View commit details
    Browse the repository at this point in the history
  2. Add failing scenario to test

    A u32 bitflags structure should allow a 1<<31 value. However, with
    current cbindgen this produces a compiler error with latest clang, because
    1<<31 is treated as a signed value (-2147483648) which cannot be narrowed
    back into a uint32_t without a cast.
    staktrace authored and emilio committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    977d95b View commit details
    Browse the repository at this point in the history
  3. Add fix for failing scenario

    This fixes the scenario by adding an explicit cast based on type
    of the field.
    
    Fixes #555
    emilio committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    f41eefb View commit details
    Browse the repository at this point in the history
  4. Update expectation files

    emilio committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    3527e0f View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2020

  1. Add support for an optional attribute on pointers whose nullability c…

    …an be inferred from the Rust type.
    nickwilcox authored and emilio committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    41b7866 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fc7c77 View commit details
    Browse the repository at this point in the history
  3. update nonnull expectations

    Nick Wilcox authored and emilio committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    afd4a05 View commit details
    Browse the repository at this point in the history
  4. ir: Represent references and const / mut ptrs using the same Type var…

    …iant.
    
    There should be no behavior change.
    emilio committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    29bc8f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6b41815 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2020

  1. ir: Be less strict when instantiating opaque types.

    There are two situations where we can legitimately end up with a
    different number of template params.
    
    Fixes #532.
    Fixes #527.
    emilio committed Aug 15, 2020
    Configuration menu
    Copy the full SHA
    d652d29 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2020

  1. Configuration menu
    Copy the full SHA
    030916e View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2020

  1. Release v.0.14.4

    emilio committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    83cdbd8 View commit details
    Browse the repository at this point in the history
Loading