This code is just the generated code from mix new
and mix rustler.new
. See the rustler documentation for more information.
mix test
actually calls into the nif to perform a simple addition. This ensures that everything is built and loaded correctly.