Return string form rust in Wasm

My question is: what are you trying to achieve exactly? Why do you want a pointer + length returned? Why not a normal copied string?

That’s what I don’t get. Not sure LLVM’s IR matters here? :thinking: