oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/plugin/echo.wat
689 bytes, 1 run
created by r1870400018:73481, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | (module $echo |
| 2 | (import "typst_env" "wasm_minimal_protocol_write_args_to_buffer" (func (param i32) (result ))) |
| 3 | (import "typst_env" "wasm_minimal_protocol_send_result_to_host" (func (param i32 i32) (result ))) |
| 4 | (memory (export "memory") 1) |
| 5 | (func (export "echo") (param i32) (result i32) |
| 6 | i32.const 0 |
| 7 | call 0 |
| 8 | i32.const 0 |
| 9 | local.get 0 |
| 10 | call 1 |
| 11 | i32.const 0 |
| 12 | ) |
| 13 | (func (export "two") (param i32 i32) (result i32) |
| 14 | i32.const 0 |
| 15 | call 0 |
| 16 | i32.const 0 |
| 17 | local.get 0 |
| 18 | local.get 1 |
| 19 | i32.add |
| 20 | call 1 |
| 21 | i32.const 0 |
| 22 | ) |
| 23 | (func (export "none") (param ) (result i32) |
| 24 | i32.const 0 |
| 25 | call 0 |
| 26 | i32.const 0 |
| 27 | i32.const 0 |
| 28 | call 1 |
| 29 | i32.const 0 |
| 30 | ) |
| 31 | ) |