Christian Poveda Ruiz

Results 298 comments of Christian Poveda Ruiz

This would certainly be appreciated. I can review a PR with these changes just ping me when you're ready.

Given that this is a upstream issue, would it be enough to update the user guide by removing the `\?` prefix from the path? I don't have a windows setup...

of course! :) it would actually be better if someone that can test it submits the PR instead of me doing it.

I agree with @emilio, adding this as a nightly only feature meanwhile makes sense. If this feature is merged before the compiler feature is stabilized we can stabilize this feature...

I think so, there's a commit on main with the change. @christianheussy feel free to reopen this if your changes didn't made it to main for some reason.

Even though having it as a default sounds like an attractive proposition, it would require to have an option to opt out from this behavior as bindgen's API is pretty...

this could also be seen as a generalization of the custom derive callback. Maybe it would make sense to introduce a callback to annotate any rust items with custom attributes...

> We have already a `wasm_import_module_name` option that adds such an attribute where you want, afaict. Extending / generalizing that seems better. Given we merge the blocks I think it'd...

If you don't want to add the `typedef`s manually to your headers, you can add them using the [`header_contents` method](https://docs.rs/bindgen/latest/bindgen/struct.Builder.html#method.header_contents).

There's no current way to do this but I don't see why we could not add this feature.