-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
O-uwp-windows-msvcWindows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain.Windows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain.O-windowsOperating system: WindowsOperating system: WindowsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Currently we lazy load some system functions that were restricted on UWP. See here, for example:
rust/library/std/src/sys/pal/windows/c.rs
Lines 233 to 234 in c83e217
#[cfg(target_vendor = "uwp")] | |
pub fn NtCreateFile( |
However, I'm told that Microsoft stopped enforcing the requirement that store applications (even strictly UWP ones) only use certain APIs in 2020. There is now nothing that block applications from using such APIs unless they're completely restricted functions, (e.g. win32 UI APIs) which would block lazy loading too. There is still a tool that may report certain APIs but that isn't, I'm told, actually relevant nowadays.
Metadata
Metadata
Assignees
Labels
O-uwp-windows-msvcWindows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain.Windows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain.O-windowsOperating system: WindowsOperating system: WindowsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.