Conversation
… I suspect it will fail on MacOS.
|
As expected this PR has failed CI. As mentioned above I can't debug it any further, I hope this helps someone with access to a Mac debug the issue. |
|
I have been testing this, and found that |
|
I've just put together a test of this in Rust which is fine when run on macos (using GH actions). So it seems to not be a bug in the underlying library. |
|
I've been doing even more testing with GH actions. As you can see from this execution log for this program works when you run it with:
However, the same code copied into a test and run with:
Crashes! I don't really have any ideas how to debug this further... |
|
I'll dive into this soon and figure out why it's failing in the test host; perhaps it is installing a mach exception handler that is interfering with Wasmtime's. |
|
I'll still be looking into this issue, but I'm not holding up the 1.0.0 release for it as I believe it's a test-host only problem. |
My other PR (#151) was failing CI on MacOS only, I think this is due to a bug in wasmtime dotnet, although I'm not sure what and unfortunately I cannot debug it further since I don't own a Mac.
This PR includes the minimal set of changes to (hopefully) reproduce the problem.
Note that the
nuintchange is necessary to prevent anOverflowException(as mentioned in #150).