Christian Poveda Ruiz

Results 298 comments of Christian Poveda Ruiz

:wave: `bindgen` contributor here. Is there any way I could help so you can use `bindgen`? Would it be feasible to run different `bindgen` invocations based on the target?

What I was thinking was basically your option of > - pam-sys provides and labels both and lets pam-rs deal with the difference. Where bindings are generated for `linux-pam` if...

I'd be very interested in knowing which are those "few Linux distributions" because I did a quick search and got nothing :sweat_smile:. Same for bsd, the only thing I know...

yeah I think providing the "natural" default in a simple manner and allowing the user to select whatever they want with env-vars sounds convenient.

:wave: On `bindgen` we are trying to keep in touch with the maintainers of `sys` crates like this one and figure out how to improve their experience. I also have...

I like @coastalwhite first proposal as this is, as mentioned by themselves, a multilibrary issue, they just happen to have the same suffix so we have this blurry notion of...

This sounds like something that could be handled better by running `cargo fix` or something similar over the generated bindings instead of adding extra functionality to bindgen.

> Well, it's hard to automatically know what you want to consider unused vs. not. For example there are lots of functions in C that take ints but expect some...

@duckfromdiscord the issue you describe is not the same as the one discussed here. Yours is a proper `bindgen` error so I'd recommend you to open a new issue or...

even if it is a bug, this sounds more like a cargo issue than a bindgen one