-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime-c-api tests fail with singlepass-backend #811
Comments
Thanks for the bug report! @losfair Can you take a look at this bug please? |
I had a long discussion on this with @nlewycky outside of github. And resolved some parts of this. The linkage error for single-pass has been fixed with #814 I don't really understand the meaning of the change, but Nick debugged it and I verified it worked on my machine. (He had a different, unsupported, version of ld and it failed with a different error earlier). The other error was tracked down to the fact that singlepass compiler never had support for serialization. This just was never tested before. In the end, I managed to get out this message (why test-module-serialize fails with singlepass backend): And found the smoking gun:
Handling this - either implementing it or documenting it as the wasmer team decides - can be another issue when you figure out your approach. I would be fine with closing this when #814 is merged, and linking to the new focused issue on how to handle the now known serialization issue. |
We have now caching in singlepass. I'll do a quick check to see if the runtime-c-api tests pass with it :) |
Amazing. Can you link the pr that added caching to singlepass? I'm definitely excited about the 0.12 release now. |
Describe the bug
git log -1
provides:I realized this was an old commit.
I then updated to current master, fixed a typo, and while
cargo test
passes,cargo test --features singlepass-backend --no-default-features
returns a linking error:from:
Steps to reproduce
fails on current
master
Note that I had to use
--no-default-features
flags so this compiles at all.Expected behavior
Tests pass, as with cranelift or llvm
Actual behavior
Result:
Additional context
The text was updated successfully, but these errors were encountered: