9 ms·
> // SAFETY: do you trust me? No. Have you seen the safer-ffi crate? Then you won't have to commit the deadly sin of writing unsafe Rust
by ajbt200128 2y ago
> // SAFETY: do you trust me?
No.
Have you seen the safer-ffi crate? Then you won't have to commit the deadly sin of writing unsafe Rust
- Wowfunhappy 2y agoBut this is an entry point to assembly code. It's inherently unsafe.
- gpm 2y ago> safer-ffi crate It looks to me like that crate is supposed to help with exposing rust functions to C safely, not calling foreign functions in foreign code safely. Am I missing something?