Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the x86_64-uwp-windows-msvc target #138

Open
notgull opened this issue Aug 18, 2023 · 2 comments
Open

Support the x86_64-uwp-windows-msvc target #138

notgull opened this issue Aug 18, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@notgull
Copy link
Member

notgull commented Aug 18, 2023

x86_64-uwp-windows-msvc is a Universal Windows Platform app, which has different restrictions than the pc variant of Windows that most apps target. For our purposes, the main restriction is that we can't use the underlying NT system APIs. Unfortunately this means that we can't use the \Device\Afd hack.

It seems like the only way to solve this would be to use the thread pool that we currently use for waitable handles, but run select() on it instead of waiting for the handle.

@notgull notgull added the help wanted Extra attention is needed label Aug 18, 2023
@taiki-e
Copy link
Collaborator

taiki-e commented Aug 18, 2023

I thought that Microsoft itself was moving away from UWP. If so, I think they are still maintaining it for compatibility, but it is unclear if it is worth our time to support it.
microsoft/WindowsAppSDK#1615

@notgull
Copy link
Member Author

notgull commented Aug 18, 2023

Hmm, you're right. It would still be nice to be able to create apps that can go on the Windows App store, which I think is where the "no NT API" restriction comes from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

2 participants