about summary refs log tree commit diff
path: root/library/std/src/os/windows/io/handle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/os/windows/io/handle.rs')
-rw-r--r--library/std/src/os/windows/io/handle.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/os/windows/io/handle.rs b/library/std/src/os/windows/io/handle.rs
index f27970eaaf1..0ecac6b4475 100644
--- a/library/std/src/os/windows/io/handle.rs
+++ b/library/std/src/os/windows/io/handle.rs
@@ -206,6 +206,7 @@ impl OwnedHandle {
     }
 
     /// Allow child processes to inherit the handle.
+    #[cfg(not(target_vendor = "uwp"))]
     pub(crate) fn set_inheritable(&self) -> io::Result<()> {
         cvt(unsafe {
             c::SetHandleInformation(