mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-19 14:08:50 +00:00
Fix ntdll linkage issues on Windows UWP platforms See discussion: https://github.com/rust-lang/rust/issues/112265#issuecomment-1575479683 Static loading `ntdll` functions does not work for UWP programs, which will end up link errors complaining about missing symbols, or failure to pass the WACK tests. The breakage was introduced in #108262. This PR basically reverts part of the changes in #108262 for UWP only, and fixes some lint suggestions.