]> git.lizzy.rs Git - rust.git/commit
std: win: Don't use SetHandleInformation on UWP
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Mon, 27 May 2019 14:51:29 +0000 (16:51 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Thu, 25 Jul 2019 19:30:08 +0000 (21:30 +0200)
commita713a0399a6e63de1c8009a390ae964ff03f4067
tree9154a6d4ac29ade41d40fca9933f67332431ed7d
parent9407ed759fd31fca3c32c1bc3b3e2f26313c462f
std: win: Don't use SetHandleInformation on UWP

Attempt to create sockets with the WSA_FLAG_NO_HANDLE_INHERIT flag, and
handle the potential error gracefully (as the flag isn't support on
Windows 7 before SP1)
src/libstd/sys/windows/c.rs
src/libstd/sys/windows/net.rs
src/libstd/sys/windows/pipe.rs
src/libstd/sys/windows/process.rs