cloudflare / workerd

The JavaScript / Wasm runtime that powers Cloudflare Workers
https://blog.cloudflare.com/workerd-open-source-workers-runtime/
Apache License 2.0
6.28k stars 304 forks source link

win32 arm64 Support #2735

Open KimPlaybit opened 2 months ago

KimPlaybit commented 2 months ago

What would you like?

Run a web application with Workerd on a computer with Win32-Arm64 OS.

Why is this needed? With Asus recently releasing laptops with Qualcomm CPUs, this will be more and more requested. See The Asus Vivobook S 15.

Other I managed to start my Web app with workerd regardless.

By adding in "win32 arm64 LE": "@cloudflare/workerd-windows-64" in Install.js as a knownPackage. I dont know what side-effects this brings.

alduboishc commented 1 month ago

That would be nice. I had to do the same workaround as OP to get my dev env. running.

p-romain commented 4 weeks ago

Hi, I've opened the PR #2997 in order to contribute. Feel free to help me with the configuration of bazel since it's the first time I touch this kind of stuff.

p-romain commented 4 weeks ago

I dont know what side-effects this brings.

Probably nothing, I think the binary exe run under emulation of x86_64 on the ARM64.

p-romain commented 3 weeks ago

I was not able to connect to a pg db with workerd for windows x64, under windows arm64. I'm using prisma + hono + wrangler@3 and the request was running indefinitely without error message or timeout. Only solution found was to rollback on wrangler@2. Just for your information if somebody has the same behavior.