Stream: git-wasmtime

Topic: wasmtime / issue #4992 Trap handling for Windows ARM64


view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2022 at 13:48):

Berrysoft opened issue #4992:

After #4990 merged, we can build wasmtime for Windows ARM64, and it should work without trap handling.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2022 at 13:49):

Berrysoft edited issue #4992:

After #4990 merged, we can build wasmtime for Windows ARM64, and it should work without trap handling.

We now need to add trap handling to make it totally work.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2022 at 16:21):

Berrysoft commented on issue #4992:

https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/codegen/src/isa/aarch64/mod.rs#L152

view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2022 at 16:21):

Berrysoft edited a comment on issue #4992:

https://github.com/bytecodealliance/wasmtime/blob/3fa545bd89d6e18e6e85eab57499ee9c9f5032f2/cranelift/codegen/src/isa/aarch64/mod.rs#L152

view this post on Zulip Wasmtime GitHub notifications bot (Oct 01 2022 at 16:22):

Berrysoft edited a comment on issue #4992:

https://github.com/bytecodealliance/wasmtime/blob/3fa545bd89d6e18e6e85eab57499ee9c9f5032f2/cranelift/codegen/src/isa/aarch64/mod.rs#L151-L154

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2022 at 21:09):

alexcrichton labeled issue #4992:

After #4990 merged, we can build wasmtime for Windows ARM64, and it should work without trap handling.

We now need to add trap handling to make it totally work.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2023 at 21:04):

hwoodiwiss commented on issue #4992:

Is this something that's being looked at actively at the moment, and would a community contributions be welcome for this?

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2023 at 21:04):

hwoodiwiss edited a comment on issue #4992:

Is this something that's being looked at actively at the moment, and would a community contribution be welcome?

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2023 at 21:46):

cfallin commented on issue #4992:

No one has indicated they're working on it, so if you or anyone who is familiar with Windows on Arm is willing to build it, we'd very much welcome it!

view this post on Zulip Wasmtime GitHub notifications bot (Sep 16 2024 at 18:30):

dpaoliello commented on issue #4992:

It's hackathon week at Microsoft, so I'm going to have a go at this as my project...

view this post on Zulip Wasmtime GitHub notifications bot (Sep 16 2024 at 18:36):

alexcrichton commented on issue #4992:

Oh nice, that'd be great! If you have any questions feel free to reach out here or on Zulip

view this post on Zulip Wasmtime GitHub notifications bot (Sep 17 2024 at 16:28):

dpaoliello commented on issue #4992:

I have a draft PR: #9266

Currently most tests are passing, but there is a crash in the JITted code. Unfortunately, there doesn't seem to be debug info (or stack is corrupted just for the JIT frames) and WinDbg is crashing when I try to capture a Time Travel Trace.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 17 2024 at 16:40):

dpaoliello edited a comment on issue #4992:

I have a draft PR: #9266

Update: I misread the stack, looks like it's a crash due to a "malformed function table during unwind" - investigating further...

view this post on Zulip Wasmtime GitHub notifications bot (Sep 18 2024 at 18:11):

dpaoliello commented on issue #4992:

Update: I got everything working (required a more careful reading of the spec and how wasmtime emits instructions).
PR has been published.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 18 2024 at 18:15):

cfallin commented on issue #4992:

Very exciting, thanks @dpaoliello! It looks like Alex has looked at the PR at a high level; I'll do a detailed review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 19 2024 at 16:55):

cfallin closed issue #4992:

After #4990 merged, we can build wasmtime for Windows ARM64, and it should work without trap handling.

We now need to add trap handling to make it totally work.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 27 2024 at 11:00):

kpreisser commented on issue #4992:

Thank you very much for implementing unwind support for Windows Arm64, and providing release artifacts!
When running the unit tests of wasmtime-dotnet on Windows 11 Version 23H2 Arm64 (using the wasmtime-dev-aarch64-windows-c-api.zip artifact of the latest dev release), all tests now succeed.


Last updated: Dec 23 2024 at 13:07 UTC