Christian Poveda Ruiz

Results 298 comments of Christian Poveda Ruiz

> * if possible, have `--keep-clone` be only used with `--no-copy` is used, otherwise has no effect. @amanjeev I wanted to do something like it but the issue is that...

@jschwe yeah I think option b is reasonable. Specially if we add an error when `--no-copy` is used explaining that you should use `--no-clone` or whatever. The only remaining issue...

Hey 👋 I support this proposal for several reasons. The first comes from a "human-cost" perspective and its based around the idea that we should join efforts so we can...

> Thanks for the positive response! > > [@emilio](https://github.com/emilio) yep! The prelude and command-line which `autocxx` feeds to `bindgen` is quite long :) However `cxx` is also opinionated about what...

`max_align_t` comes from `/usr/lib/clang/18/include/__stddef_max_align_t.h` on my system: ```c /*===---- __stddef_max_align_t.h - Definition of max_align_t ---------------=== * * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions....

@marcus0x62 there's no rush to merge this as the change is pretty small on itself. I'd be nice to have a test with a scenario similar to yours to avoid...

the easiest I can think of is to set the [relevant environment variables](https://github.com/KyleMayes/clang-sys?tab=readme-ov-file#environment-variables) for `clang-sys` and use the same paths when calling [`Build::compiler`](https://docs.rs/cc/latest/cc/struct.Build.html#method.compiler) The docs for `Build::compiler` also say that...

Thanks for reaching out! To help you effectively, I need more specific details. Could you provide a minimal reproducible example? Reviewing code in a zip files isn't feasible for me...

I think there's no way to add macros to the blocklist, but you can blocklist the enum with `--blocklist-item`.

My first bet is that you're not actually using 0.70.1 as the released crate clearly has this method: https://docs.rs/bindgen/0.70.1/bindgen/struct.Builder.html#method.wrap_static_fns The command line version is also wrong as you're passing `--wrap-static-fns`...