Use Cell representation for errno
Refactor to use a Cell
for platform::errno
, rather than a static mut
. This allows for platform::errno
handling to be implemented entirely in safe Rust, though it is of course still exposed to user C code through a pointer.
Edited by Peter Limkilde Svendsen