-
Notifications
You must be signed in to change notification settings - Fork 256
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
Add no-std support to wasmparser #364
Conversation
Signed-off-by: Ethin Probst <ethindp@protonmail.com>
Thanks for the PR, but this library doesn't support |
@alexcrichton Why would whether this supports no_std or not be dependent on what wasmtime supports? All this does is parse wasm -- it doesn't actually execute or JIT it, and it (by default) includes the standard library. The change was a trivial one. Merging this functionality won't affect wasmtime in any way, and the same patterns that've been used thus far can continue to be used in this library since I doubt you'll need threading or anything like that if your just parsing Wasm binaries and letting the end-developer handle the structures generated from them. If wasmparser -- which is what changed -- won't ever depend on things that you'll only find in a C library, which appears to be the case since everything that the library does is portable, I'm quite confused on the refusal to merge this PR. |
Well in some sense I'm one of the primary maintainers of this crate and I'm also the one who wrote up the policy for wasmtime of not supporting If you'd like to discuss the |
@alexcrichton That's the thing: this PR doesn't actually do that. It will not make wasmtime development harder or anything. So long as you don't go importing (for example) |
Sorry all I can recommend is reiterating my above point, this isn't the place to discuss the bytecodealliance position on |
Signed-off-by: Ethin Probst <ethindp@protonmail.com>
For me a tldr; To work around this you either have to convert the entire workspace to support |
@ethindp FYI I published a It also switches out |
I think we can close this PR.
|
Sounds good. |
Signed-off-by: Ethin Probst ethindp@protonmail.com