rust/library/std
Dylan DPC d56c59efdc
Rollup merge of #97060 - bdbai:fix/uwphandle, r=ChrisDenton
Fix use of SetHandleInformation on UWP

The use of `SetHandleInformation` (introduced in #96441 to make `HANDLE` inheritable) breaks UWP builds because it is not available for UWP targets.

Proposed workaround: duplicate the `HANDLE` with `inherit = true` and immediately close the old one. Traditional Windows Desktop programs are not affected.

cc `@ChrisDenton`
2022-05-15 18:41:27 +02:00
..
benches
primitive_docs
src Rollup merge of #97060 - bdbai:fix/uwphandle, r=ChrisDenton 2022-05-15 18:41:27 +02:00
tests
build.rs
Cargo.toml Update libc dependency of std to 0.2.125. 2022-04-29 16:45:17 +02:00