# Elixir + \[rust -\> wasm\] sample code?

**URL:** <https://forum.elixirforum.com/t/elixir-rust-wasm-sample-code/38407>\
**Category:** Questions\
**Tags:** troubleshooting\
**Created:** [March 23, 2021, 2:06pm UTC](https://forum.elixirforum.com/t/elixir-rust-wasm-sample-code/38407 "2021-03-23T14:06:46Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![tessi](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/tessi/32/2919_2.png) [@tessi](https://forum.elixirforum.com/u/tessi)\
**Post date:** [June 3, 2023, 10:26pm UTC](https://forum.elixirforum.com/t/elixir-rust-wasm-sample-code/38407/29 "2023-06-03T22:26:57Z")

</div>

Hey @echojoys - apologies for my late answer. But I have good news! Back when you asked this question the Rust/WASM ecosystem wasn’t able to support multi-value returns yet. And we’d need multi-value returns to return the string address _and_ length at the same tine.

This changed, however. Have a look at [Return string form rust in Wasm - #11 by tessi](https://forum.elixirforum.com/t/return-string-form-rust-in-wasm/51372/11) where I tell you in another thread about the good news that Wasmex will ship with multi-value returns soon.

---

_[View the full topic](https://forum.elixirforum.com/t/elixir-rust-wasm-sample-code/38407)._
