Conversation
This removes the --wasi-common, as it's now on by default, and adds a --wasi-c option to enable the wasi-c implementation.
tschneidereit
left a comment
There was a problem hiding this comment.
This is great! I'm going to merge this PR, as there are people blocked on this because of build system issues.
It gets even better as now you can actually build On a related note, I guess it might be a good idea to re-enable AppVeyor builds for this repo. @sunfishcode @tschneidereit what do you guys reckon? |
I have a WIP Azure Pipelines definition here. Pipelines is a much nicer environment and allows us to unify CI for Linux, Mac, and Windows, so I think instead of re-enabling AppVeyor we should probably finish that. Now that the Windows version actually does something, I'll spend some time today really setting things up. |
|
@tschneidereit the link seems to be incorrectly pointing to CraneStation/wasi-common#22 PR instead of |
|
@kubkon oops, apologies! :) This is what I meant ... The setup actually fully works, except the tests fail on Windows, which is probably to be expected right now. |
|
@tschneidereit Nice! That looks really good! I'll be curious to hear your opinion on Anyhow, I don't see the tests failing, but rather building |
Ah, sorry—this time I almost had the right link ;) I experimented with not installing LLVM to speed up the build a little bit, but that indeed fails because of the signalhandlers stuff. See the next build for the actual error. |
I experimented with Travis, but in particular their Windows support has many more issues than Azure Pipelines. The Pipelines team is also very responsive, and actively engaged with the Rust community to resolve any issues that pop up. And finally, their Windows support is quite a bit faster to begin with, and also has significantly higher time outs than Travis—up to 8 hour, IIRC. |
No probs! :-) Ah, I see. Anyhow, with regards to the actual error, it seems that it's something to do with "Access violation writing location ..." and it immediately trips at misc_testsuite/stack_overflow.wast. If you remove the test, the next couple pass fine on Win, although it seems nondeterministic at best. I'll need to investigate further, but I'm quite surprised that the spec fails on Win. Would you expect it to? @sunfishcode any thoughts on this? |
|
Yeah, the stack_overflow.wast (and infinitely recursive tests in spec_testsuite/call.wast and others) which test stack overflow don't fully work on Windows yet, because detecting stack overflow requires platform-specific code that we don't have yet. |
This patch removes the "interpret continuation tables as function references tables" hack in favour of a dedicated handling of continuation tables. Note this patch does not implement the embedder-side of things. Resolves bytecodealliance#133.
Expand attribute syntax to allow rule tagging. Updates avanhatt#47
Expand attribute syntax to allow rule tagging. Updates avanhatt#47
…oncurrent-expanded-tests Re-enable concurrent expansion tests
This removes the --wasi-common, as it's now on by default, and adds a
--wasi-c option to enable the wasi-c implementation.