Christian Poveda Ruiz
Christian Poveda Ruiz
Closing due to lack of updates.
I ran this at commit 61636e94 and got: ```rust Warning: can't set `binop_separator = Back`, unstable features are only available in nightly channel. /* automatically generated by rust-bindgen 0.60.1 */...
The behavior of bindgen on 0d805d70 has changed. Instead of overflowing the stack we hit a panic ``` thread 'main' panicked at 'Not an item: ItemId(1)', /home/christian/Workspace/bindgen/rust-bindgen/src/ir/context.rs:1460:21 ```
maybe we could do a more structured approach but that would require being able to emit valid c code out of nowhere. This `c_quote!` crate idea it's becoming more and...
If someone is interested in tackling this (I might :p): We could fix this after https://github.com/rust-lang/rust-bindgen/pull/2254 is merged by adding a pass over the AST that looks for all the...
Yeah I'm not sure if this should be a hard coded `--no-alias-for-native-types` (name is a work in progress :sweat_smile:) or an `--omit-alias-types=list` kind of option.
maybe something like [this](https://github.com/rust-lang/rust-bindgen/issues/1663#issuecomment-1261281093) would fit your case of use? The main idea is that instead of using `c_int`, `c_long` and what not, you ask bindgen to use the sized...
this became: ``` error[E0587]: type has conflicting packed and align representation hints --> /home/christian/Workspace/bindgen/bindgen-tutorial/target/debug/build/bindgen-tutorial-8c47bf657a7ff347/out/bindings.rs:35:1 | 35 | / pub struct header { 36 | | pub proto: ::std::os::raw::c_char, 37 |...
After taking a look it seems there's not much we can do. The only thing that exposes attributes directly is [`getAttrs` from `Decl`](https://clang.llvm.org/doxygen/classclang_1_1Decl.html#abae11b19b60f5291f70b397af22d81ca) but `clang-sys` does not expose anything from...
You cannot use `RefCell` either because it contains a `Cell` field. and as you already mentioned `Cell` does not implement `RefUnwindSafe`. I opened #2317 which removes this restriction and uses...