Christian Poveda Ruiz

Results 298 comments of Christian Poveda Ruiz

After a little bit more digging the issue here seems to be that `cexpr` (which we use to evaluate macros) is not able to parse and evaluate the macro definition...

@wmmc88 does this happens even if you pass the mvsc compatibility flags to clang via bindgen?

hmmm... that's annoying. Bindgen is basically saying that it cannot find the type definition for that constant iiuc. My best bet is that you also need to include headers with...

This seems to be related: https://github.com/WebAssembly/tool-conventions/issues/130

Is there any use case where calling [`create_dir_all`](https://doc.rust-lang.org/std/fs/fn.create_dir_all.html) before `write_to_file` is not enough?

Even though I understand your point, I think this is not a strong enough reason to add this feature. That being said, I'll defer this to @emilio as he might...

Hey! Thanks for the report! I don't have a windows machine so I don't have any actual way to fix + test this right now. I'd be happy to review...

tagging @reitermarkus

@reitermarkus is already working on something similar here https://github.com/rust-lang/rust-bindgen/pull/2369.