-
Notifications
You must be signed in to change notification settings - Fork 26
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
WASM target is not supported #174
Comments
tommy
added a commit
to tommy/tree-sitter-just
that referenced
this issue
Sep 5, 2024
I get a different error when targeting WASM.
@tommy's fix f676df8 does not help :/ Specs: |
Merged
I think this should be fixed by #178, feel free to reopen if that isn't the case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! First of all, thanks for creating this grammar for Justfiles. I have a small issue when I tried to compile the grammar for the WASM target via WASI SDK:
According to WASI SDK outputting to stdio/stderr is not supported. To avoid that error one can use preprocessor macro to disable printing if the target is WASM:
0001-Disable-debugging-statements-for-the-WASM-target.patch
I think you can replicate that by using the WASI SDK Docker image like this:
And then instantiating the WASM module.
I wonder if you could provide WASM support for the Justfile grammar? That would be really appreciated. Thanks!
The text was updated successfully, but these errors were encountered: