summaryrefslogtreecommitdiff
path: root/libbindgen/src/lib.rs
AgeCommit message (Collapse)Author
2016-12-23lib: Remove unused libc dependency.Emilio Cobos Álvarez
2016-12-23libbindgen: run `cargo fmt`.Emilio Cobos Álvarez
2016-12-21Run `cargo fmt` on the sourcesNick Fitzgerald
2016-12-21Ensure that we only load `libclang` once across all threads, and that it is ↵Nick Fitzgerald
not prematurely dropped. Honestly, I'm still not 100% sure what the root cause of the Clang and LLVM issues I was seeing were, but when I ensure that we only have one libclang loaded across all threads and that it is never dropped, the assertions go away. Fixes #350.
2016-12-14Use a dynamically loaded clang to do as much as we can with old clang ↵Emilio Cobos Álvarez
versions, and experiment with new ones. It's a pity that we don't support clang 3.7 and similar for generating C bindings, when it should be straight-forward. This should allow us to support older clang versions, and also experiment with pre-release clang APIs if needed. This depends on: https://github.com/KyleMayes/clang-sys/pull/44
2016-12-13Auto merge of #333 - emilio:clang-sys, r=fitzgenbors-servo
Use clang-sys bindings instead of ours. I plan to use a dynamically loaded clang-sys library to remove the llvm-stable feature. This is part of the work. r? @fitzgen
2016-12-13Use clang-sys bindings instead of ours.Emilio Cobos Álvarez
I plan to use a dynamically loaded clang-sys library to remove the llvm-stable feature. This is part of the work.
2016-12-13Add support for constructors, and integration tests.Emilio Cobos Álvarez
2016-12-11lib: Do the path fixup inside the library, so users of the library don't ↵Emilio Cobos Álvarez
have to do this themselves.
2016-12-11options: Ensure to pass the clang header last to clang.Emilio Cobos Álvarez
2016-12-10lib: Return error early if there are any error diagnostics.Emilio Cobos Álvarez
2016-12-09Rip off the clippy feature.Emilio Cobos Álvarez
2016-12-09s/_docs/docs_Emilio Cobos Álvarez
2016-12-06Add an API to decide what gets generated more granularly.Emilio Cobos Álvarez
2016-11-29ir: Add a note about duplicated names.Emilio Cobos Álvarez
2016-11-24Add a new disable-name-namespacing option.Emilio Cobos Álvarez
2016-11-22ir: Rework how we discover children of modules.Emilio Cobos Álvarez
2016-11-16libbindgen: Make logging optionalJeff Waugh
Note that the log crate isn't completely banished, as other is required by other dependencies.
2016-11-15Add an option to emit our ir for debuggingNick Fitzgerald
Similar to our ability to emit the clang AST, this adds an option to emit our IR for debugging purposes.
2016-11-16Transition to libbindgen sub-crateJeff Waugh
- The root crate is the `bindgen` binary - Rust-ify the test suite, no more subprocesses! - Update Travis config to test both crates