Re:What Is Rust's Unsafe? (2019)
by ridiculous_fish on Sunday April 10, 2022 @02:33PM
(#30980183)
Sometimes unsafe is used differently, for example when setting up a signal handler or a post-fork handler. Process::pre_exec is unsafe to indicate that some safe code may crash or produce UB within this function. Only async-signal safe functions should be used and Rust does not model that in its type system.
[ Parent
| on HN ]
There are no comments on this comment yet.