]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/os/fd/owned.rs
Add a stability attribute to WASI's `try_clone()`.
[rust.git] / library / std / src / os / fd / owned.rs
index 1d947cc853eb41500871604dadca3ee140f91d12..45b792039efb78e13f97a0d7450814741ac52344 100644 (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,