From 1237232aba9d765a469ac5a28fefd2ebfb158e9a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 14 Jun 2022 14:46:10 -0700 Subject: [PATCH] Add a stability attribute to WASI's `try_clone()`. --- library/std/src/os/fd/owned.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/std/src/os/fd/owned.rs b/library/std/src/os/fd/owned.rs index 1d947cc853e..45b792039ef 100644 --- a/library/std/src/os/fd/owned.rs +++ b/library/std/src/os/fd/owned.rs @@ -100,6 +100,7 @@ impl OwnedFd { } #[cfg(target_arch = "wasm32")] + #[stable(feature = "io_safety", since = "1.63.0")] pub fn try_clone(&self) -> crate::io::Result { Err(crate::io::const_io_error!( crate::io::ErrorKind::Unsupported,