git clone https://garage44.eu/jeroen/pinnacle.git.. /ports/getrandom-0.4.3/src/error_std_impls.rs
extern crate std;
use crate::Error;
use std::io;
impl From<Error> for io::Error {
fn from(err: Error) -> Self {
match err.raw_os_error() {
Some(errno) => io::Error::from_raw_os_error(errno),
None => io::Error::other(err),
}
}
}