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

an example of a function with a return type of string #361

Open
liluyue opened this issue May 20, 2024 · 1 comment
Open

an example of a function with a return type of string #361

liluyue opened this issue May 20, 2024 · 1 comment

Comments

@liluyue
Copy link

liluyue commented May 20, 2024

I am using Rust to develop a vscode plugin based on Wasm, but when the function return type is string, JavaScript always fails to receive results. May I ask if there is an example of a function with a return type of string that you can refer to

@calvinrp
Copy link

calvinrp commented May 20, 2024

This question might be better suited for https://github.com/bytecodealliance/jco/ ? That project helps you run Wasm components in JavaScript host runtimes.

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

2 participants