3 ms·
"Safe" and "unsafe" is quite orthogonal to the ABI stability issue. Whether a library call is "safe" has to do with on what constraints have been placed on the
by zozbot234 6y ago
"Safe" and "unsafe" is quite orthogonal to the ABI stability issue. Whether a library call is "safe" has to do with on what constraints have been placed on the library code, not what ABI is used.
- est31 6y agoRust supports a stable but unsafe ABI, the C ABI (extern "C"). Rust also supports a safe but unstable ABI, the Rust ABI (extern "Rust"). But there is no ABI that Rust supports that is both safe and stable. Full list of supported ABIs: https://doc.rust-lang.org/reference/items/external-blocks.html#abi https://doc.rust-lang.org/reference/items/external-blocks.ht...