I wrote a big post on how type layouts and ABIs work in Rust (and how to properly match ABIs with C for FFI): https://gankro.github.io/blah/rust-layouts-and-abis/ …
-
-
Replying to @Gankro
Great doc. Thanks! Is there a reason why kind is N/A for char (as opposed to integer) and why the C/C++ type is N/A instead of char32_t?
1 reply 0 retweets 0 likes
Replying to @hsivonen
it's just too obscure for anyone to have done the legwork to verify the bridging as reasonable yet
5:37 AM - 12 Oct 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.