packr 0.7.1

A WebAssembly package runtime with extended WIT support for recursive types
Documentation
1
2
3
4
5
6
7
8
// Base calculator interface - what actors implement
interface calculator {
    exports {
        add: func(a: s32, b: s32) -> s32
        divide: func(a: s32, b: s32) -> result<s32, string>
        reset: func()
    }
}