Skip to content

Use Cell representation for errno

Peter Limkilde Svendsen requested to merge plimkilde/relibc:errno-cell into master

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

Merge request reports