diff options
author | Christian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com> | 2022-11-01 08:49:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 08:49:57 -0500 |
commit | a2fe04cbafaf0c7b40979e1cc505a90d76f4d099 (patch) | |
tree | 8ce681715be6ff85b78c0ea3ed6fb662ce2b7de1 /bindgen/codegen/mod.rs | |
parent | 4f92dfb7c59afa01e1e1ac305e9eea60d935d12d (diff) |
Add a mechanism to rerun bindgen with the same user options (#2292)
* 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 `GenerateResult::ShouldRestart` is returned by
`Bindings::generate`.
This is done to eventually solve #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.
Diffstat (limited to 'bindgen/codegen/mod.rs')
0 files changed, 0 insertions, 0 deletions