Cargo.tomlto add the Wasmer dependencies as shown below:
sumfunction, let's get and call it:
sumfunction and see how we can make interacting with it better. To do so, we'll be using the native flavor. With this flavor, passing arguments and getting result will feel more natural.
cargo runcommand. The output should look like this:
go run main.gocommand. The output should look like this:
make clean exports-function && ./exports-functioncommand. The output should look like this: