Closed
Description
The FFI tutorial section 8 Accessing foreign globals describes writing an extern static mut
, but it would be helpful to mention that reading is also unsafe.
The code example has two writes and no reads, so perhaps if the example is also updated with a read it may save some readers some trouble.
Metadata
Metadata
Assignees
Labels
No labels