Added snippet

This commit is contained in:
2022-07-29 23:34:22 +02:00
parent b008226c34
commit e98266f036
2 changed files with 12 additions and 0 deletions

9
snippets/wasm.wat Normal file
View File

@@ -0,0 +1,9 @@
(module
(func $i (import "imports" "imported_func") (param i32))
(func (export "exported_func")
i32.const 42
call $i
)
)
;; Source: https://developer.mozilla.org/en-US/docs/WebAssembly/Text_format_to_wasm