#![cfg_attr(not(any(feature = "std", test)), no_std)]
#![cfg_attr(feature = "nightly-io_error_more", feature(io_error_more, io_error_inprogress))]
#![deny(missing_docs)]
#![cfg_attr(
all(not(feature = "std"), doc),
doc = "[`std::io::Error`]: <https://doc.rust-lang.org/std/io/struct.Error.html>"
)]
#![cfg_attr(
all(not(feature = "std"), doc),
doc = "[`std::io::ErrorKind`]: <https://doc.rust-lang.org/std/io/enum.ErrorKind.html>"
)]
mod error;
pub mod kind;
pub use error::Error;
#[cfg(feature = "alloc")]
extern crate alloc;
cfg_match::cfg_match! {
any(target_os = "lilium") => {
pub type RawOsError = isize;
}
_ => {
pub type RawOsError = i32;
}
}
#[cfg(feature = "os-error-wrapper")]
pub mod os;