bytecodealliance / wasmtime-dotnet

.NET embedding of Wasmtime https://bytecodealliance.github.io/wasmtime-dotnet/
Apache License 2.0
409 stars 52 forks source link

Windows (ARM64) Binary #298

Open andrewmd5 opened 5 months ago

andrewmd5 commented 5 months ago

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

peterhuene commented 5 months ago

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.

andrewmd5 commented 5 months ago

I opened an issue here.

andrewmd5 commented 5 months ago

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

peterhuene commented 5 months ago

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.