Skip to content
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

Compilation error: Implementation limit exceeded #11

Closed
whitequark opened this issue May 21, 2020 · 9 comments
Closed

Compilation error: Implementation limit exceeded #11

whitequark opened this issue May 21, 2020 · 9 comments

Comments

@whitequark
Copy link
Contributor

whitequark commented May 21, 2020

Some people get this error while instantiating a WASM module, all of them on Windows, e.g. see here. Unfortunately it is quite opaque and I'm not really sure where to go from here, especially since wasmtime-py ignores RUST_LOG. How do I debug this?

@tschneidereit
Copy link
Member

That's probably bytecodealliance/wasmtime#1734, so should hopefully be fixed once that PR lands.

@alexcrichton would it be feasible to have wasmtime-py respect RUST_LOG?

@alexcrichton
Copy link
Member

I've opened bytecodealliance/wasmtime#1737 to get RUST_LOG working, and otherwise @tschneidereit is right that PR should fix the underlying issue too!

@alexcrichton
Copy link
Member

Ok I'm going to close this in favor of bytecodealliance/wasmtime#1734 and the upstream issue at bytecodealliance/wasmtime#1587, since I believe those should cover the issues here.

@peterhuene
Copy link
Member

@whitequark the fix for this issue was just merged. Please let me know if you're still running into an issue on Windows. Thanks!

@whitequark
Copy link
Contributor Author

I can confirm this fixes the Windows issue.

@alexcrichton Is there a chance we can have a wasmtime release?

@alexcrichton
Copy link
Member

Sure yeah, I pushed a 0.16.1 tag which is the exact same as the 0.16.0 tag but should download the latest copies of the C API. We've had some breaking API changes so I'm going to hold off until 0.17.0 of wasmtime itself before publishing that for this extension.

CI isn't running, however, so I'm going to need to debug that...

@alexcrichton
Copy link
Member

Ok published now!

@cr1901
Copy link

cr1901 commented May 23, 2020

I can confirm that wasmtime-py and wasmtime are fixed on my end on mingw via a manual install. Just for the sake of knowing, is there any particular reason that if you install manually you have to download wasmtime into your source directory instead of wasmtime being installed into site-packages?
image

@alexcrichton
Copy link
Member

The wasmtime dynamic library needs to be downloaded to wherever wasmtime-py is installed to, and it you're manually installing it that may explain the oddness?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants