component-model icon indicating copy to clipboard operation
component-model copied to clipboard

an example of a function with a return type of string

Open liluyue opened this issue 1 year ago • 1 comments

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

liluyue avatar May 20 '24 08:05 liluyue

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

calvinrp avatar May 20 '24 11:05 calvinrp