4 ms·
Useful context on the Rust side is this issue [1]. It sounds like some of the author's concerns are addressed already. [1]: https://github.com/rust-lang/unsafe
by cbarrick 3y ago
Useful context on the Rust side is this issue [1]. It sounds like some of the author's concerns are addressed already.
[1]: https://github.com/rust-lang/unsafe-code-guidelines/issues/472 https://github.com/rust-lang/unsafe-code-guidelines/issues/4...
- steveklabnik 3y agosee also https://www.reddit.com/r/rust/comments/19871c5/passing_nothing_is_surprisingly_difficult/ki5fu0i/ https://www.reddit.com/r/rust/comments/19871c5/passing_nothi...
- thayne 3y agoThis is basically the "define pointer arithmetic for invalid pointers". Which as pointed out in that section, doesn't solve completely the FFI problem.