use crate::{wasi, Result}; pub(crate) const O_RSYNC: yanix::file::OFlag = yanix::file::OFlag::RSYNC; pub(crate) fn stdev_from_nix(dev: libc::dev_t) -> Result { Ok(wasi::__wasi_device_t::from(dev)) } pub(crate) fn stino_from_nix(ino: libc::ino_t) -> Result { Ok(wasi::__wasi_device_t::from(ino)) }