Age | Commit message (Collapse) | Author |
|
This reverts commit 6899c275ee0ab0687ec66c490ddd1a76f8223513.
The `proc_macro2` crate depends on rustc internal crates, which means that
`bindgen` would need to be run under `rustup`.
We can follow https://github.com/rust-lang/rust/issues/47931 to get updates on
when this issue might be resolved and we can update `quote` again.
Fixes #1248
|
|
Update log to 0.4 and bump version
|
|
|
|
codegen: expose enum variant documentation.
|
|
|
|
|
|
ir: Make macro constants not being architecture-dependent.
Fixes #1185
|
|
Fixes #1185
|
|
callbacks: Introduce MacroParsingBehavior to allow ignoring macros.
This is symmetric, yet less powerful, than enum_variant_behavior.
Fixes #687.
|
|
This is symmetric, yet less powerful, than enum_variant_behavior.
Fixes #687.
|
|
codegen: Make forward declarations go through the more generic path.
Instead of special-casing.
This allows to use the normal flags to control what can be or not derived for
them.
Arguably deriving Copy / Clone is kind of busted for those, but changing this by
default broke tests (RefPtr<ForwardDeclaredType> stopped working for example).
So I think this is a good compromise.
Fixes #1238
|
|
ir: Choose the right mangling for destructors on all codepaths.
Fixes #1133.
|
|
codegen: Make the cyclic typedef name detection catch more cases.
By looking through typedefs, we also catch more complex cases like the ones that
appear on Android's stdlib.
Fixes #946
|
|
Instead of special-casing.
This allows to use the normal flags to control what can be or not derived for
them.
Arguably deriving Copy / Clone is kind of busted for those, but changing this by
default broke tests (RefPtr<ForwardDeclaredType> stopped working for example).
So I think this is a good compromise.
Fixes #1238
|
|
Fixes #1133.
|
|
By looking through typedefs, we also catch more complex cases like the ones that
appear on Android's stdlib.
Fixes #946
|
|
Support str as input to Builder::no_* functions
Previously, only String was supported on these while other functions in Builder worked with both str and String
This tripped me up because `Builder::constified_enum_module` and `Builder::raw_line` worked with string slices but I got a compile error when I tried to use `Builder:;no_copy`
|
|
Previously, only String was supported on these while other
functions in Builder worked with both str and String
|
|
lib: Add a way to override rustfmt path.
I'll need it to format some stuff on mozilla-central.
|
|
|
|
I'll need it to format some stuff on mozilla-central.
|
|
Bump quote to 0.4
|
|
|
|
Fix year in release date for 0.32.2
|
|
|
|
Minor version bump.
Closes #1231.
|
|
Closes #1231.
|
|
codegen: Try to reasonably handle enum : bool.
Just use the repr name we generate, since we generate constants for that.
It's not worth trying to guess the actual type to use IMO.
Bindings lose a bit of portability I guess, but that's really a lost bet
already, so instead of special-casing bool and map constants, let's use a
consistent representation everywhere.
Fixes #1145
|
|
Just use the repr name we generate, since we generate constants for that.
It's not worth trying to guess the actual type to use IMO.
Bindings lose a bit of portability I guess, but that's really a lost bet
already, so instead of special-casing bool and map constants, let's use a
consistent representation everywhere.
Fixes #1145
|
|
codegen: Don't generate repr(C) for enums.
That's only undefined for enums with fields.
Fixes #1224
See also: https://botbot.me/mozilla/rustc/2018-01-19/?msg=95934948&page=2
|
|
That's only undefined for enums with fields.
Fixes #1224
See also: https://botbot.me/mozilla/rustc/2018-01-19/?msg=95934948&page=2
|
|
ir: Handle _Complex _Float128 correctly.
Unfortunately we can't test it for the same alignment issues that "long double"
has.
I also included the diagnostic code, just in case it happens again.
|
|
Unfortunately we can't test it for the same alignment issues that "long double"
has.
Fixes #1087
|
|
Added mdbook entry for bitfields.
Fixes #818
|
|
|
|
|
|
|
|
Make CARGO_PKG_VERSION option_env!, rather than env!
|
|
|
|
Clang trunk considers stuff in an anonymous namespace with internal linkage.
|
|
I think that's right, and the previous behavior was just a bug.
Rejigger the tests that show this difference since they aren't testing this in
particular, and avoids adding more per-platform tests.
|
|
codegen: Be consistent about variadic signatures.
Fixes #1216.
|
|
Fix license incompatibility
|
|
Fixes #1216.
|
|
Mark C++ exceptions as unsupported in the book
|
|
Correct type for --whitelist-type doc
|
|
|
|
Fix travis.
Per https://docs.travis-ci.com/user/languages/cpp/, though not super-confident
this will fix it.
|
|
|
|
|