Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mechanism to rerun bindgen with the same user options #2292

Merged
merged 2 commits into from
Nov 1, 2022

Commits on Oct 12, 2022

  1. Run Bindings::generate again if required.

    This adds a mechanism so `bindgen` is able to run `Bindings::generate`
    multiple times with the same user input if the `generate_static_inline`
    option is enabled and `GenerateError::ShouldRestart` is returned by
    `Bindings::generate`.
    
    This is done to eventually solve rust-lang#1090 which would require to check for
    any static inline functions and generate a new header file to be used as
    an extra input and run `Bindings::generate` again.
    pvdrz committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    056333c View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. use result instead of error

    pvdrz committed Nov 1, 2022
    Configuration menu
    Copy the full SHA
    cf6f39e View commit details
    Browse the repository at this point in the history