primatejs / primate

Web framework focused on flexibility and developer freedom
https://primatejs.com
MIT License
211 stars 9 forks source link

Support windows arm64 #167

Open gedw99 opened 1 month ago

gedw99 commented 1 month ago

As per https://primatejs.com/blog/release-032

it would be good to support windows arm64 .

it’s not a waste of time as windows arm64 is solid and competes very well with apple arm64 in terms of performance- many say it’s faster than apple arm64

you can compile in GitHub actions by choosing windows amd64 and it can build the arm64 also.

terrablue commented 1 month ago

The main issue here is indeed that Bun does not support bun-windows-arm64 as a target, compare https://bun.sh/docs/bundler/executables#supported-targets. I'm not sure whether this limitation applies only to cross-compilation or in general, but it looks like it's a general issue to me as there are no examples for Windows Arm64.

Deno compile also seems to have the same limitation here: https://docs.deno.com/runtime/reference/cli/compiler/#supported-targets

IOW, regardless of GH actions, we're currently limited by the runtime in supporting that.

gedw99 commented 1 month ago

Good to know that’s where the blocker is .

Let’s track this for bun:

https://github.com/oven-sh/bun/issues/9824

this is the best issue or demo arm64 I could find:

https://github.com/denoland/deno/issues/13331

I get the impression that it does work for bun and possibly demo but it’s just not yet official .

ii am on Mac and with UTM I can run windows amd64 or and64. So it’s easy to test thankfully.

phaleth commented 1 month ago

For nodejs the full support is there since nodejs v20.