-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
AFAIK, safe rust just only guarantees something under the control of the Rust compiler (i.e. rust primitive operations) is sound while external operations like FFI or any other OS features are not guaranteed. For example, to read and write proc/self/mem is safe in rust but it's not actually safe though we have obeyed the safety rules of the fs API. (The safety rules are incomplete.)
I'm confused about IO safety after reading the RFC 3128. What does IO safety actually guaranteed? How does IO safety do it? Why is this sound? And does proc/self/mem violate IO safety?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels