miniblog.
← Back to all posts
Wilfred Hughes
Feb 2, 2020 at 16:18
Until 2012, calling an arbitrary C function was considered safe in Rust!
https://github.com/rust-lang/rust/issues/2628#issuecomment-9384243
Make native functions unsafe · Issue #2628 · rust-lang/rust
Very frequently I find myself marveling at the amount of unsafe code I can write without an unsafe block. Using native functions is the fastest way to segfault your rust but it usually doesn't requ...