Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | |
2022-05-08 | Update GitHub Actions actions/checkout@v2 to v3 | David Tolnay | |
The v2 implementation uses Node 12, which is end-of-life on April 30, 2022. See https://nodejs.org/en/about/releases/. Update to v3, which is based on Node 16 whose support lasts until April 30, 2024. | |||
2022-05-08 | Derive from any other trait only when deriving from Copy | Michal Rostecki | |
It's impossible to #[derive] from any other trait when not deriving from Copy when using the newest Rust nightly. Any attempt to do that results in the following error: error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) Fixes: #2083 Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> | |||
2022-04-19 | Fix panic!() argument (quote it) | Henryk Paluch | |
2022-04-19 | Use common type alias for anonymous enums in consts mode | Alan Wu | |
Previously, anonymous enums generated a type alias but did not use it. For example the following: ```C enum { ZERO, ONE = 4999, }; ``` Generated this: ```Rust /* automatically generated by rust-bindgen 0.59.2 */ pub const ZERO: ::std::os::raw::c_uint = 0; pub const ONE: ::std::os::raw::c_uint = 4999; pub type _bindgen_ty_1 = ::std::os::raw::c_uint; ``` For use cases where humans look at bindgen's Rust output this was a little strange since it's a deviation from how the Rust output for named enums is organized, where all constants share the same type using the type alias. The unused type alias also triggered the dead_code lint. Change to use the generated type alias. | |||
2022-03-15 | codegen: Fix minor clippy warning. | Emilio Cobos Álvarez | |
2022-03-15 | add attributes to dynamic functions | Emil Gardström | |
this includes comments and must_use annotations | |||
2022-03-15 | disable test_clang_env_args on windows | Emil Gardström | |
2022-03-15 | disable some tests on windows | Emil Gardström | |
This is due to differences in representation of `signed long` and `unsigned long` on most Linux-based systems and Windows (`64` vs. `32` bits) | |||
2022-03-15 | disable layout tests for `derive-custom` and `convert-cpp-comment-to-rust` test | Emil Gardström | |
2022-03-15 | escape `\` in paths for tests modules | Emil Gardström | |