Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unsafe and platform dependent errno retrieval
The recent addition of user ring buffers included calls to `*libc::__errno_location()`. Apart from requiring an unsafe block, this function might not be available on some targets, such as Android, causing build failures. Use the portable implementation provided by `std::io::Error::last_os_error` instead.
- Loading branch information