Comment by ajbt200128
2 years 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
2 years 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
But this is an entry point to assembly code. It's inherently unsafe.
> 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?