The execute stage simply consists of calling the __start function returns the result code of executing the sandbox
(sandbox: &WaveSandbox)
| 62 | // The execute stage simply consists of calling the __start function |
| 63 | // returns the result code of executing the sandbox |
| 64 | fn execute(sandbox: &WaveSandbox) -> i32 { |
| 65 | unsafe { sandbox.module.w2c__start() } |
| 66 | } |
| 67 | |
| 68 | // // Here, we just: |
| 69 | // // 1. Unmap linear memory |