denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
94.06k stars 5.23k forks source link

Support Windows ARM64 #13331

Open duncanmak opened 2 years ago

duncanmak commented 2 years ago

I've been using a Surface Pro X as a main machine and I'm interested in using Deno on it.

So far, I've been using the Linux/ARM64 builds made by @LukeChannings, https://github.com/LukeChannings/deno-arm64, they work well in WSL2.

It would be even nicer to use if I can run it natively in Windows instead.

I found this blog post about supporting Windows ARM64: https://patriksvensson.se/2020/05/targeting-arm-for-windows-in-rust/

LukeChannings commented 2 years ago

This would suffer from the same cross-compilation issues that Linux does [1]. Since Microsoft don't license ARM64 Windows I doubt that there'll be support for compiling in CI via a VM.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

duncanmak commented 2 years ago

I started looking into this, and I've discovered there are other bugs that need to be fixed before we can get Deno to build.

Ring isn't working right now

awakecoding commented 1 year ago

I've got a working, temporary solution to build against a patched ring 0.16.20 release for Windows ARM64, see instructions here if it can help: https://github.com/briansmith/ring/issues/1514#issuecomment-1258562375

duncanmak commented 11 months ago

There's now a new ring release, I'm gonna try to find some time to try this again by upgrading to the new Ring release.