2 ms·
No. Rust is only applying any constraints to reading from it. The entire discussion is how to make an API which defines which portions of the memory can be rea
by gpm 2y ago
No. Rust is only applying any constraints to reading from it.
The entire discussion is how to make an API which defines which portions of the memory can be read from because they have been written to, so we can expose an API that cannot be misused. There have never been any constraints on writing to uninitialized memory.