Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-26 | Really minor cleanup. | Emilio Cobos Álvarez | |
2020-04-26 | Readme/CI: mention and test the MSRV | Denis 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-23 | Generator docs: add note about clang documentation string options | Matej Laitl | |
I believe this should fix #1265. | |||
2020-04-23 | Generator docs: mention the word docstring(s) for discoverability | Matej Laitl | |
That was what I was searching for initially, make life of future me (and others, hopefully) easier. | |||
2020-04-23 | Generator docs: use rich text link instead of plain url in text | Matej Laitl | |
2020-03-25 | Indicate undefined behaviour in enum docs and point to alternative | Aphek | |
2020-03-24 | Initial objective-c docs | Sebastian Imlay | |
2020-03-16 | Update to latest version of bindgen | Arthur 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-16 | Added some initial constraints to the objective-c bindgen stuff | Sebastian Imlay | |
2020-03-10 | Release 0.53.2v0.53.2 | Emilio Cobos Álvarez | |
2020-03-10 | ir: Remove redundant parenthesis. | Emilio Cobos Álvarez | |
2020-03-10 | Update to cexpr 0.4 | Jeff Muizelaar | |
This moves us from nom 4 to nom 5. | |||
2020-03-09 | Update to clang-sys 0.29 | Josh Stone | |
2020-02-24 | Delay invoking clang version checks until a functional path is taken | Kent 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 | |||
2020-02-21 | propose adding host v. target architecture mismatch to problem list | bunnie | |
I spent an afternoon scratching my head on this one before I ran into https://github.com/rust-lang/rust-bindgen/issues/1728. Since the error message welcomes PRs... | |||
2020-02-19 | Update deprecated methods in builder example | Jonas Platte | |
2020-02-19 | Fix written-out form of SFINAE | Jonas Platte | |
2020-02-17 | var: Constant arrays of const elements should not generate `static mut`s. | Emilio Cobos Álvarez | |
Fixes #1727 | |||
2020-02-11 | Add a late changelog note about the `"runtime"` feature. | Emilio Cobos Álvarez | |
In hindsight I should've done it when writing it. Fixes #1712 | |||
2020-02-05 | fix documentation typo | katie.martin | |
`book/src/cpp.md` can have little a typo fix, as a treat. | |||
2020-02-03 | Release 0.53.1.v0.53.1 | Emilio Cobos Álvarez | |
2020-02-03 | options: Add an opt-in to recover the size_t behavior removed in 5d38f2ac. | Emilio Cobos Álvarez | |
2020-02-02 | Release v0.53.0v0.53.0 | Emilio Cobos Álvarez | |
2020-02-02 | ir: codegen: Handle too large bitfield units. | Emilio Cobos Álvarez | |
By not generating various code for it. In the future, we could improve on this by splitting contiguous bitfield units, if needed, so that we can implement them without dealing with rust array derive limits. Fixes #1718 | |||
2020-02-02 | ir: Deindent some code trivially. | Emilio Cobos Álvarez | |
2020-01-29 | ir: Account for packedness when computing bitfield sizes. | Emilio Cobos Álvarez | |
Fixes #1716 | |||
2020-01-22 | Add comments about regex usage in {white|black}list functions | Aurora | |
2020-01-13 | Add ,ignore to avoid that CI compiles these examples. | Orne Brocaar | |
2020-01-13 | Add how to deal with bindgen padding fields. | Orne Brocaar | |
2020-01-13 | codegen: Max guaranteed alignment is 8 (with u64), not target pointer width. | Emilio Cobos Álvarez | |
2020-01-13 | Remove padding for over-aligned structs when we support repr(align). | Emilio Cobos Álvarez | |
Before repr(align), we could only safely guarantee up to 8-bytes of alignment (I think the pointer-width check is a more conservative way of doing that, in practice, because I _think_ u64 is 8-byte aligned even for smaller targets). So when we may generate a potentially-under-aligned struct, we always used to pad it so as to guarantee that at least the size (and thus reads from rust for C-allocated structs) was fine. But if we support repr(align), then the above is always unneeded. | |||
2020-01-05 | Added non-keyword support to objective-c methods. | Sebastian Imlay | |
2020-01-05 | An initial implementation of objective-c generics for #1259 (#1702) | simlay | |
2019-12-20 | Update latest stable rust to 1.40 and give non_exhaustive feature | John Brandt | |
2019-12-16 | Remove deprecated Error::description | Kornel | |
2019-12-13 | Remove size_t to usize conversion rule | Conor McAvity | |
2019-12-11 | codegen: Minor cleanup after #1691. | Emilio Cobos Álvarez | |
2019-12-11 | tests: Minor rustc warning fixes. | Emilio Cobos Álvarez | |
2019-12-11 | Add support for wasm_import_module | Jasper-Bekkers | |
2019-11-28 | Fix warning on rustdoc | Jake Merdich | |
Rustdoc was treating doc comments containing `#[non_exhaustive]` as links and warning, so mark that as code to avoid the warning. | |||
2019-11-25 | Move warnings check on the CI | Luca Barbato | |
Always building with `deny(warnings)` leads to messups such as https://docs.rs/crate/bindgen/0.52.0/builds/199624 | |||
2019-11-19 | v0.52.0v0.52.0 | Emilio Cobos Álvarez | |
2019-11-14 | Make rustfmt happy | David Vo | |
2019-11-14 | Add newtype enum style | David Vo | |
This adds an enum style similar to the existing bitfield style, without the bitwise operator impls. Closes: #1669 | |||
2019-11-14 | Warn rather than panic on unknown namespace prefix | Jon Gjengset | |
When a #defined token was used before a namespace, like so (#1676): #define nssv_inline_ns inline nssv_inline_ns namespace literals {} bindgen would crash when encountering the unknown token preceding the namespace token. This is because we don't get to see "past" the ifdef to the underlying token. The true fix to this is to find a way to extract ifdef info through clang, but for the time being we simply change the panic into a warning when such a token is encountered, and then proceed as if it were empty. Fixes #1676. | |||
2019-11-09 | Update tests from transmute to 'as' casting | Elichai Turkel | |
2019-11-09 | Replace unsafe ref->ptr transmute with 'as' casting | Elichai Turkel | |
2019-11-08 | Option to use #[repr(transparent)] structs instead of type aliasing. | Joseph Rafael Ferrer | |
2019-11-08 | Update and add tests for MaybeUninit | Elichai Turkel | |
2019-11-08 | Add support for MaybeUninit | Elichai Turkel | |