mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Add a stability attribute to WASI's try_clone()
.
This commit is contained in:
parent
67ed99e6d2
commit
1237232aba
@ -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…
Reference in New Issue
Block a user