I have a Rust crate my_rust_crate
which builds on both x86_64 and wasm32.
I want to find a language L with the following property:
-
we can do L <-> Rust interop on x86_64
-
the same code, with small modification, can become <-> Rust interop on wasm32
Is there any language L satisfying these properties?
For example: for lua, elixir, ocaml: it is not obvious how to do L <-> rust with both on wasm32.