Re:Reducing Rust Incremental Compilation Times on macOS
by zozbot234 on Sunday April 18, 2021 @12:44PM
(#26854003)
"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.
[ Parent
| on HN ]
Re:Reducing Rust Incremental Compilation Times on macOS
by est31 on Sunday April 18, 2021 @12:57PM
(#26854135)
Rust 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.ht...