Cargo.toml
to add the Wasmer dependencies as shown below:Makefile
:sum
function, let's get and call it:sum
function 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 run
command. The output should look like this:go run main.go
command. The output should look like this:python exports_function.py
command.php exports-function.php
command.make clean exports-function && ./exports-function
command. The output should look like this:ruby exports_function.rb
command.