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

Add support for native arm64 Windows #2782

Open
rmartin16 opened this issue Aug 21, 2024 · 0 comments
Open

Add support for native arm64 Windows #2782

rmartin16 opened this issue Aug 21, 2024 · 0 comments
Labels
enhancement New features, or improvements to existing features. windows The issue relates to Microsoft Windows support.

Comments

@rmartin16
Copy link
Member

rmartin16 commented Aug 21, 2024

What is the problem or limitation you are having?

Toga cannot currently be used with native arm64 Python on Windows.

However, this issue isn't really tracking work for Toga as much as it is for Python.NET. Currently, Python.NET does not provide a CLR loader for arm64; instead, it tries to load the CLR for x86-64. While Windows on ARM can load x86-64 DLLs, it cannot do so in an arm64 Python process.

Therefore, Toga can only be used on arm64 Windows via an x86-64 Python running in emulation; arguably, though, this is sufficient for most uses of Toga.

Describe the solution you'd like

Once Python.NET adds support for Windows on ARM, ensure Toga can use it with arm64 Python.

Describe alternatives you've considered

Use x86-64 Python on arm64 Windows.

Additional context

@rmartin16 rmartin16 added enhancement New features, or improvements to existing features. windows The issue relates to Microsoft Windows support. labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, or improvements to existing features. windows The issue relates to Microsoft Windows support.
Projects
None yet
Development

No branches or pull requests

1 participant