Add a stability attribute to WASI's try_clone().

This commit is contained in:
Dan Gohman 2022-06-14 14:46:10 -07:00
parent 67ed99e6d2
commit 1237232aba

View File

@ -100,6 +100,7 @@ pub fn try_clone(&self) -> crate::io::Result<Self> {
}
#[cfg(target_arch = "wasm32")]
#[stable(feature = "io_safety", since = "1.63.0")]
pub fn try_clone(&self) -> crate::io::Result<Self> {
Err(crate::io::const_io_error!(
crate::io::ErrorKind::Unsupported,