3 ms·
It’s not safe under Rust’s definition of safe. If you map the file into readonly memory and than get references to it, the underlying memory can mutate (eg: by
by WhyNotHugo 3y ago
It’s not safe under Rust’s definition of safe.
If you map the file into readonly memory and than get references to it, the underlying memory can mutate (eg: by modifying the file itself).