Skip to content

Commit 1237232

Browse files
committed
Add a stability attribute to WASI's try_clone().
1 parent 67ed99e commit 1237232

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: library/std/src/os/fd/owned.rs

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ impl OwnedFd {
100100
}
101101

102102
#[cfg(target_arch = "wasm32")]
103+
#[stable(feature = "io_safety", since = "1.63.0")]
103104
pub fn try_clone(&self) -> crate::io::Result<Self> {
104105
Err(crate::io::const_io_error!(
105106
crate::io::ErrorKind::Unsupported,

0 commit comments

Comments
 (0)