same here; I've never used mmap in Rust—didn't know about the issues surrounding it (How unsafe is mmap? - #6 by BurntSushi) —apparently the main reason it's considered unsafe is not because of inherent unsafeness of manipulating the page map directly, but because it cannot be ruled out that another process modifies the mapping at the same time
a whole can of worms, yes..
1 Like