pub mod alloc;
pub mod args;
+#[path = "../unix/cmath.rs"]
pub mod cmath;
pub mod condvar;
pub mod env;
-pub mod ext;
pub mod fd;
#[path = "../unsupported/fs.rs"]
pub mod fs;
static SGX_INEFFECTIVE_ERROR: AtomicBool = AtomicBool::new(false);
if SGX_INEFFECTIVE_ERROR.load(Ordering::Relaxed) {
Err(crate::io::Error::new_const(
- ErrorKind::Other,
+ ErrorKind::Uncategorized,
&"operation can't be trusted to have any effect on SGX",
))
} else {
} else if code == Error::Interrupted as _ {
ErrorKind::Interrupted
} else if code == Error::Other as _ {
- ErrorKind::Other
+ ErrorKind::Uncategorized
} else if code == Error::UnexpectedEof as _ {
ErrorKind::UnexpectedEof
} else {
- ErrorKind::Other
+ ErrorKind::Uncategorized
}
}