Christian Poveda Ruiz

Results 298 comments of Christian Poveda Ruiz

Hi @adamlesinski and @daprilik. I've checked both zerocopy and bytemuck as I've never used them before. I wrote a script to find out how many crates use both bindgen and...

Interesting. I think bindgen should be able to provide such information. I see a few things we would need to figure out first: - There might be some trouble with...

> Do you have example of something like this (just so I know what you're talking about)? > > Is opaque-ness a property introduced by bindgen itself? If so, does...

So after being illuminated by the safe-transmute working group it seems we can do this but there's a caveat. Types with private fields shouldn't be treated as POD. Which means...

Now that https://github.com/rust-lang/rust-bindgen/pull/2355 has been merged, we can move forward towards collecting information from each type to decide if can be treated as POD or not.

:wave: It is planned in the "near" future. I'm working on another PR that also involves the custom derive callback so I cannot start working on this without breaking the...

I cloned the repo and tried building it. The linking error is no longer present. There's an error related to duplicated constants but it seems unrelated to this. Feel free...

given that we now have the `experimental` feature we could put this behind it and keep using `libclang` on windows until we find a good solution. However this would mean...

I've seen several issues and PRs discussing problems with `packed` and `align` representations. I'll gather some info and have a proper discussion around it with other contributors.

@jbaublitz could you expand a bit on how this workaround with intermediate files would work?