Add a stability attribute to WASI's try_clone().
This commit is contained in:
parent
67ed99e6d2
commit
1237232aba
1 changed files with 1 additions and 0 deletions
|
|
@ -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<Self> {
|
||||
Err(crate::io::const_io_error!(
|
||||
crate::io::ErrorKind::Unsupported,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue