Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-14 | Enforce rustfmt on automation. | Emilio Cobos Álvarez | |
2019-10-14 | Run `cargo fmt` on the main crate. | Emilio Cobos Álvarez | |
2019-10-14 | tests: Reformat test crate. | Emilio Cobos Álvarez | |
Now that the rustfmt configuration is different we need to do this to not generate unexpected failures. | |||
2019-10-14 | tests: Use the same rustfmt configuration as the parent directory. | Emilio Cobos Álvarez | |
This allows us to workaround/fix https://github.com/rust-lang/rustfmt/issues/3799 | |||
2019-10-14 | tests: Fix some warning in the test crate. | Emilio Cobos Álvarez | |
2019-10-14 | Add llvm 9.0 to CI. | Emilio Cobos Álvarez | |
2019-10-14 | Update test expectations for libclang 9.0. | Emilio Cobos Álvarez | |
2019-10-14 | Create clang-9-specific test directory, as a copy of clang-5. | Emilio Cobos Álvarez | |
2019-10-14 | tests: Look at expectations/tests/libclang-9 expectations. | Emilio Cobos Álvarez | |
2019-10-14 | tests: Look at the more specific tests first, but don't require specific ↵ | Emilio Cobos Álvarez | |
expectations for all llvm versions. | |||
2019-10-14 | function: Fix #[must_use] support in libclang 9+. | Emilio Cobos Álvarez | |
2019-10-14 | features: core::ffi::c_void isn't really available before 1.30. | Emilio Cobos Álvarez | |
2019-10-08 | Fix BitfieldUnit constructor to handle 64 bit wide bitfields on 32 bit. | Cameron McCormack | |
Fixes #1639. | |||
2019-10-08 | Rename Item::canonical_name_cache for consistency. | Cameron McCormack | |
2019-10-08 | Use a LazyCell for Item::canonical_name_cache and Item::local_id. | Cameron McCormack | |
It's slightly neater. | |||
2019-10-08 | Cache the result of Item::path_for_whitelisting. | Cameron McCormack | |
2019-10-08 | Add ParseCallbacks handler for included files | chrysn | |
As the clang_File_tryGetRealPathName function is only exposed by clang_sys for clang >= 7.0, this raises the clang dependency. Closes: https://github.com/rust-lang/rust-bindgen/issues/1635 The book example code for creating a builder to run inside Cargo is extended by using the rereun-if-changed headers. | |||
2019-10-08 | Don't always output translation_unit timer. | Cameron McCormack | |
2019-10-04 | Update env_logger and run a full cargo update | Bastien Orivel | |
2019-10-04 | Build the rustified_non_exhaustive_enums RegexSet. | Cameron McCormack | |
2019-10-04 | Add a couple more timers. | Cameron McCormack | |
For the remaining named parts of Context::gen. | |||
2019-10-03 | Use c_void from core when --use-core is specified | Kyle Tomsic | |
`c_void` is available as `::std::os::raw::c_void` and `::core::ffi::c_void`. If the "--use-core" option is specified (but no --ctypes-prefix is provided), we should emit `::core::ffi::c_void` rather than the `std` one. | |||
2019-09-28 | Fallback: call "rustfmt" directly without which | heidezomp | |
If the `which-rustfmt` feature isn't enabled, assume that the binary is called "rustfmt" and that it is in the user's PATH, instead of returning an error. | |||
2019-09-24 | Mention v0.51.1-oldsyn. | Emilio Cobos Álvarez | |
2019-09-23 | Fix changelog links. | Emilio Cobos Álvarez | |
2019-09-23 | Release v0.51.1v0.51.1 | Emilio Cobos Álvarez | |
(Cargo.toml file was updated already in the syn update) | |||
2019-09-23 | ir: Make Ord and PartialOrd implementations agree. | Emilio Cobos Álvarez | |
See https://github.com/rust-lang/rust/issues/64710. Bogus implementations were introduced in 230545e7c, d3e39dc62, and 379bb1663. | |||
2019-09-23 | Upgrade 'which' to remove indirect dependency on 'failure'. | Adrien Prokopowicz | |
2019-09-23 | fxhash -> rustc-hash | Evgeniy A. Dushistov | |
fixes #1616 | |||
2019-09-20 | Update Debian requirements. | Emilio Cobos Álvarez | |
Closes #1613 | |||
2019-09-17 | Improve the script to enforce rustfmt on automation. | Emilio Cobos Álvarez | |
2019-09-17 | Rustfmt. | Emilio Cobos Álvarez | |
2019-09-17 | Add rustfmt to nightly toolchain | Ryan Lopopolo | |
2019-09-17 | Set RUSTFMT for nofeatures tests | Ryan Lopopolo | |
2019-09-17 | lint ci/script.sh | Ryan Lopopolo | |
2019-09-17 | Test bindgen with no default features | Ryan Lopopolo | |
2019-09-17 | Return Error if no rustfmt path given and which-rustfmt feature is disabled | Ryan Lopopolo | |
2019-09-17 | Do not use which if which-rustfmt feature is disabled | Ryan Lopopolo | |
This commit changes the API of rustfmt_path to return Result<Option<Cow<PathBuf>>>. Ok(None) is returned in the case where which is disabled and no rustfmt command is supplied explicitly either via configuration or env variable. Downstream code checks for the presence of None to directly return the source without emitting an error. | |||
2019-09-17 | Add which-rustfmt feature | Ryan Lopopolo | |
This feature controls whether bindgen will use the which crate to detect the rustfmt binary. This makes which an optional dependency. which-rustfmt is a default feature which makes this change backward compatible. | |||
2019-09-02 | Update syn related dependencies and bump version | Bastien Orivel | |
2019-07-27 | Fix beta build warnings / errors. (#1603) | Emilio Cobos Álvarez | |
Fixes #1598 | |||
2019-07-26 | Release 0.51.0.v0.51.0 | Emilio Cobos Álvarez | |
2019-07-26 | Allow to override rustfmt path with an environment variable. (#1602) | Emilio Cobos Álvarez | |
Also fix rustfmt installation to be via rustup, since rustfmt-nightly doesn't compile in nightly rust. Fixes #1601 | |||
2019-07-26 | Fix rustfmt installation to be via rustup. | Emilio Cobos Álvarez | |
2019-07-26 | Allow to override rustfmt path with an environment variable. | Emilio Cobos Álvarez | |
Fixes #1601 | |||
2019-07-24 | Cleanup wchar_t layout computation to happen later. (#1596) | Emilio Cobos Álvarez | |
This is a breaking cheange since WChar is exposed, but should be no behavior change otherwise. | |||
2019-07-23 | Don't emit #[repr(align(0))] for empty unions (#1595) | Patrick Marks | |
2019-07-15 | Fix layout computation for union forward declarations (#1593) | Patrick Marks | |
2019-07-10 | Merge pull request #1592 from emilio/incomplete-array-layout | Emilio Cobos Álvarez | |
ir: Properly find the layout of incomplete arrays. | |||
2019-07-10 | ir: Properly find the layout of incomplete arrays. | Emilio Cobos Álvarez | |
So as to not pad stuff incorrectly, or needlessly add extra alignment, for example. Fixes #1589 |