Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-09 | Fix formatting | Justin Smith | |
2022-09-09 | Use str::strip_prefix | Justin Smith | |
2022-09-09 | Merge branch 'rust-lang:master' into generated_name_override | Justin W Smith | |
2022-09-08 | fix clippy lints | Christian Poveda | |
2022-09-05 | replace the `TraversalPredicate` trait with an alias type | Christian Poveda | |
2022-09-01 | address clippy lints | Christian Poveda | |
2022-08-25 | Generate opaque type for template param dependent bit field width | Collin Baker | |
libclang's API does not provide a straightforward way to check for this, and calling clang_getFieldDeclBitWidth is actively unsafe in this case. See https://github.com/llvm/llvm-project/issues/56644 We probably can't generate reasonable bindings for such a type, so make the binding opaque. Ideally libclang would report if the bit width could not be evaluated. Unfortunately making such a change would mean bumping the minimum libclang version from 6.0 to 15.0. Instead, add logic to traverse the AST subtree starting from the field's bit width specifier looking for template parameters. If we find one, we make the resulting type opaque. | |||
2022-08-25 | Sorting the output semantically (#2254) | Amanjeev Sethi | |
Generated code needs some sorting in a way that is semantically appealing. The request[1] asks for basic sorting like "types are declared first, then all structs, then all consts, then all function signatures, etc. [1] https://github.com/rust-lang/rust-bindgen/issues/1743 Signed-off-by: Amanjeev Sethi <aj@amanjeev.com> Co-authored-by: Christian Poveda <christian.poveda@ferrous-systems.com> Co-authored-by: Darren Kulp <darren@kulp.ch> | |||
2022-08-18 | rustfmt | Christian Poveda | |
2022-08-18 | emit warnings later | Christian Poveda | |
2022-08-18 | remove macro in favor of a method | Christian Poveda | |
2022-08-18 | test warning emission | Christian Poveda | |
2022-08-18 | store warnings and emit them later | Christian Poveda | |
2022-08-11 | docs(CONTRIBUTING): add a note for single test run | Amanjeev Sethi | |
test-one.sh needs to run `dot` command which is installed via Graphviz. Else, running the script throws error - `dot` command not found. | |||
2022-08-09 | Add test coverage for 'await' and 'async' keywords | Bryn M. Reeves | |
Add declarations for 'await' and 'async' variables to keywords.h and update the expectations in keywords.rs. | |||
2022-07-27 | adds 'await' to list of matches in 'rust_mangle' | Bryn M. Reeves | |
2022-07-25 | ty: Use canonical type to access pointee. | Emilio Cobos Álvarez | |
Using the canonical type fixes this but changes the output of some tests (in particular, pointer to typedefs now point to the underlying type). So do this only in known-bad cases. Fixes #2244 | |||
2022-07-21 | Mark update to clap in CHANGELOG | Darren Kulp | |
2022-07-21 | Update clap and its dependencies | Darren Kulp | |
cargo update --package=clap --aggressive | |||
2022-07-18 | Bump MSRV to 1.57.0 | Darren Kulp | |
2022-07-16 | Don't use `Arg::takes_value` when it's implied by other calls. | Jim Blandy | |
Both `Arg::value_name` and `Arg::number_of_values` imply `Arg::takes_value`, so those calls are just noise. | |||
2022-07-16 | Add revision suggestion for MSRV >= 1.59.0 | onalante-msft | |
2022-07-16 | Extract pointer once for all alignment tests | onalante-msft | |
2022-07-16 | Regenerate tests targeting libclang 5 | onalante-msft | |
2022-07-16 | Regenerate tests targeting libclang 9 | onalante-msft | |
2022-07-16 | Only insert uninit_decl if check_field_offset is non-empty | onalante-msft | |
2022-07-16 | rustfmt | onalante-msft | |
2022-07-16 | Remove functions, use same uninit for all field tests | onalante-msft | |
2022-07-16 | Place field alignment test functions before statements | onalante-msft | |
Clears clippy::items_after_statements warning for tests. | |||
2022-06-23 | Generated name override | Justin Smith | |
2022-06-23 | Bump msrv to 1.56.1 | Justin Smith | |
2022-06-23 | Fix link for creduce building/installation | Danny Mösch | |
2022-06-06 | Bump regex from 1.4.6 to 1.5.5 | dependabot[bot] | |
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.6 to 1.5.5. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.4.6...1.5.5) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> | |||
2022-06-06 | Bump version.v0.60.1 | Emilio Cobos Álvarez | |
2022-06-06 | Update test expectations. | Emilio Cobos Álvarez | |
2022-06-06 | tests: Make some other tests auto-update with BINDGEN_OVERWRITE_EXPECTED=1 | Emilio Cobos Álvarez | |
2022-06-06 | codegen: tests: Put each individual field test in a function. | Emilio Cobos Álvarez | |
So that rustc doesn't take too much stack space without optimizations. Fixes #2218 | |||
2022-06-05 | v0.60.0v0.60.0 | Emilio Cobos Álvarez | |
Closes #2209 | |||
2022-06-05 | options: Implement --version manually and print clang version on --version ↵ | Emilio Cobos Álvarez | |
--verbose Fixes #2138 | |||
2022-06-05 | Skip input headers in Linguist statistics | Darren Kulp | |
[skip ci] | |||
2022-06-05 | Skip generated files in Linguist statistics | Darren Kulp | |
[skip ci] | |||
2022-06-05 | Fix some clippy warnings | Darren Kulp | |
cargo clippy --fix --tests cargo +nightly fmt | |||
2022-06-05 | Invoke clippy better for tests | Darren Kulp | |
See https://github.com/rust-lang/rust-clippy/issues/1436#issuecomment-462059561 | |||
2022-06-05 | ir: Centralize must_use checks and simplify codegen. | Emilio Cobos Álvarez | |
2022-06-05 | Look for `must_use` on typdefs in function return | Ian Chamberlain | |
Closes #2206 | |||
2022-06-03 | deps: Update `which` crate to 4.2.2 | Darren Kulp | |
Fixes #2181. | |||
2022-05-31 | upgrade clang-sys from 1.2.0 to 1.3.3 | Nick Desaulniers | |
Via: $ cargo update -p clang-sys Contains a fix that was preventing me from running bindgen in my env. Link: https://github.com/KyleMayes/clang-sys/issues/138 Link: https://github.com/KyleMayes/clang-sys/pull/142 Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> | |||
2022-05-17 | Fix "dereferencing a null pointer" in C layout tests | Gavin Li | |
Instead of dereferencing a null pointer, create a MaybeUninit from which we can extract well-defined addresses. | |||
2022-05-08 | Fix NoneType error | alexdevteam | |
2022-05-08 | provide information how to link to shared objects | jakobgerhardt | |