Age | Commit message (Collapse) | Author |
|
remove `clap` dependency :tada:
update the book installation instructions
|
|
|
|
|
|
Instead of specifying whether or not to use stable, specify the Rust
release to support (one of several stable/beta releases or nightly).
The `--unstable-rust` option is still accepted and implies nightly.
The definitions of `RustTarget` and `RustFeatures` are created with
macros.
For each test that uses unions, there is a version that uses the latest
stable and 1.0.
This also fixes the bug where unions were generated with non-Copy
fields.
|
|
|
|
|
|
- The root crate is the `bindgen` binary
- Rust-ify the test suite, no more subprocesses!
- Update Travis config to test both crates
|
|
parser.rs
- Adds detection of nested composite fields so that they can be handled
specially during generation (see visit_composite).
- Changes to manual recursion through Clang's cursors so that top-level
and nested composites can be handled separately.
gen.rs
- Improves generation for nested composite types.
- Unifies handling of structs and unions somewhat.
types.rs
- Adds CompKind to distinguish between structs and unions.
- Updates CompInfo to use CompKind rather than a bool.
|