Repository navigation
add #[repr(transparent)] - #187
Conversation
|
I think this is a reasonable change and it would help me avoid boilerplate w/ FFI stuff. I don't think an MSRV bump is needed, we can just check the version in the build.rs like we do for @KodrAus does that sound reasonable? @flier I'm happy to take this over if you don't have time. |
|
Hi @josephlr I have added a |
|
Hi @flier, can you update the MR? thanks |
|
Thanks for your patience on this one @flier. Wow I really let this sit for a long time! 1.28.0 is now really quite old so I think we should be comfortable just bumping to it if we haven't already and avoid needing to add feature gates. I was wondering whether If you'd like to update this PR to just unconditionally add the |
|
In #240 we bumped all the way up to |
|
thanks! release time? :) |
|
This breaks at least the crates nix and rusqlite, because they both use #[repr(C)] on "enum structs" |
|
also wgpu-types and naga, which already added |

add
#[repr(transparent)]for the the FFI layout, replace #184.