wasmtime-dotnet icon indicating copy to clipboard operation
wasmtime-dotnet copied to clipboard

Windows (ARM64) Binary

Open andrewmd5 opened this issue 1 year ago • 4 comments

I’ve only just realized that this package does not ship with an ARM64 wasmtime library for Windows - checking up stream it doesn’t appear there is any native release either, despite there being an AARCH64 wheel.

Any chance at getting an experimental cross-compilation build within this package?

Tertiary report here

andrewmd5 avatar Mar 20 '24 09:03 andrewmd5

Hi @andrewmd5. We'll need upstream Wasmtime to build the C API package for aarch64 Windows first; once that artifact is available, I can update wasmtime-dotnet's build to include it.

Would you mind filing an issue upstream? I'm not sure what support GitHub actions has aarch64 and Windows, though.

peterhuene avatar Mar 27 '24 01:03 peterhuene

I opened an issue here.

andrewmd5 avatar Mar 27 '24 06:03 andrewmd5

I was looking at the workflows and it looks like builds are already produced for this triple?

https://github.com/bytecodealliance/wasmtime/blob/d256e25065d339b922093c28333779a155a61ccb/.github/workflows/main.yml#L381

andrewmd5 avatar Mar 27 '24 06:03 andrewmd5

Indeed, we appear to cargo check it in CI, but traps are non-functional (I would guess we're missing aarch64 unwind information generation for Windows, but I haven't looked at that in quite some time) and tests expect traps to work.

So it looks like this would be blocked until someone has the time to implement support for Windows aarch64.

peterhuene avatar Mar 27 '24 07:03 peterhuene