summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-21Introduce tests for functional macrosDarren Kulp
2020-06-21Generate func_macro callbacksDarren Kulp
2020-06-21Introduce func_macro to ParseCallbacks traitDarren Kulp
2020-06-21Introduce is_macro_function_likeDarren Kulp
2020-06-21Introduce extent to ClangTokenDarren Kulp
2020-06-20Permit IntKind::Custom to represent Paths instead of just Idents (#1800)Emilio Cobos Álvarez
2020-06-19Reorder jobs to reduce total runtimeDarren Kulp
2020-06-19Remove webhook that 404'sDarren Kulp
2020-06-19Remove reference to nonexistent jobDarren Kulp
2020-06-19Correct copy-paste error duplicating 5.0 configDarren Kulp
libclang versions before 5.0 need our `runtime` feature enabled, so that we do not suffer a link-time failure when not finding symbols that appeared only in newer libclang versions.
2020-06-15Refined test to verify type of resulting integerAlan Egerton
2020-06-15Added testsAlan Egerton
2020-06-15Permit IntKind::Custom to represent Paths instead of just IdentsAlan Egerton
2020-06-15Derive traits for newtype aliases (#1802)eggyal
2020-06-15tests: Fix rustfmt check to allow for RUSTFMT env vars.Emilio Cobos Álvarez
2020-06-15ci: always try to find a nightly toolchain with rustfmt.Emilio Cobos Álvarez
2020-06-12Fix regex to be marked opaqueYisu Rem Wang
While `std::*` makes informal sense, the user may be mislead into calling `opaque_type("std::*")` instead of the correct `opaque_type("std::.*")` (as I was).
2020-06-08Remove unused Token definition.Emilio Cobos Álvarez
2020-06-08Mangle items with the same name as Rust primitive typeskellda
2020-06-08Document environment variables in READMETravis Finkenauer
Mention BINDGEN_EXTRA_CLANG_ARGS and clang-sys variables.
2020-06-07Fix warning introduced in recent objective-c work.Emilio Cobos Álvarez
2020-06-05Document BINDGEN_EXTRA_CLANG_ARGS env variableTravis Finkenauer
Feature was originally introduced in pull-request #1537
2020-05-21Document the 0.53.3 release.Emilio Cobos Álvarez
2020-05-21Release 0.54.0.v0.54.0Emilio Cobos Álvarez
2020-05-18add command-line option for disabling untagged unionsNathan Froyd
One more thing that we can configure from the command line.
2020-05-14ir: Fall back to get the cursors from the type if we find no param decls.Emilio Cobos Álvarez
It seems libclang sometimes doesn't expose the right paramdecl cursors. This should be reported upstream, but it's easy enough to workaround. It loses the parameter names which is a bit unfortunate but... Fixes #1778
2020-05-12Merge pull request #1750 from simlay/objc-inheritanceEmilio Cobos Álvarez
Objective-c inheritance support
2020-05-11Added inheritance to objective-c support.Sebastian Imlay
2020-05-05Merge pull request #1775 from immunant/blacklist_method_implEmilio Cobos Álvarez
Do not emit Rust method wrapper for blacklisted functions
2020-05-04Add testStephen Crane
2020-05-04Do not emit Rust method wrapper for blacklisted functionsStephen Crane
We should not emit Rust struct methods corresponding to a C++ method unless we are actually emitting a binding for that method.
2020-05-03Upgrade to 2018 edition (#1769)Emilio Cobos Álvarez
2020-05-03Update requirements.mdMossa Merhi Reimert
I was having trouble figuring out how to install Clang for bindgen, and this helped right away.
2020-04-27Run `cargo fmt`Joshua Nelson
2020-04-27Upgrade to 2018 editionJoshua Nelson
2020-04-27Run `cargo fix --edition`Joshua Nelson
2020-04-26Really minor cleanup.Emilio Cobos Álvarez
2020-04-26Readme/CI: mention and test the MSRVDenis Lisov
Write down the minimal supported Rust version in the README.md and add a CI test that ensures MSRV bumps cannot happen accidentally.
2020-04-23Generator docs: add note about clang documentation string optionsMatej Laitl
I believe this should fix #1265.
2020-04-23Generator docs: mention the word docstring(s) for discoverabilityMatej Laitl
That was what I was searching for initially, make life of future me (and others, hopefully) easier.
2020-04-23Generator docs: use rich text link instead of plain url in textMatej Laitl
2020-03-25Indicate undefined behaviour in enum docs and point to alternativeAphek
2020-03-24Initial objective-c docsSebastian Imlay
2020-03-16Update to latest version of bindgenArthur Gautier
using version 0.51.1 would trigger a build error like: ``` | | .parse_callbacks(Box::new(bindgen::CargoCallbacks)) | ^^^^^^^^^^^^^^ not found in `bindgen` ``` when using sample from tutorial.
2020-03-16Added some initial constraints to the objective-c bindgen stuffSebastian Imlay
2020-03-10Release 0.53.2v0.53.2Emilio Cobos Álvarez
2020-03-10ir: Remove redundant parenthesis.Emilio Cobos Álvarez
2020-03-10Update to cexpr 0.4Jeff Muizelaar
This moves us from nom 4 to nom 5.
2020-03-09Update to clang-sys 0.29Josh Stone
2020-02-24Delay invoking clang version checks until a functional path is takenKent Fredric
This allows avoiding large numbers of system calls to dynaload clang to determine its version, when no action is performed, for example: - When calling --version / -V - When calling --help This improves the raw responsivity from: Before: time bindgen --help # 0.593s strace -cf bindgen --help # 83k syscalls, 64k to statx After: time bindgen --help # 0.004s strace -cf bindgen --help # 90 syscalls However, it does mean that you can no longer obtain the discovered clang version with: RUST_LOG=info bindgen -V But this may be remedied in a future commit. Closes: https://github.com/rust-lang/rust-bindgen/issues/1736