This commit is contained in:
2026-06-21 23:55:17 -06:00
commit ef5362cc25
13 changed files with 167 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
(module
(import "demo:importing/provider@0.1.0" "get" (func $get (result i32)))
(func $add (param $other i32) (result i32)
call $get
local.get $other
i32.add)
(func $mul (param $other i32) (result i32)
call $get
local.get $other
i32.mul)
(export "demo:importing/adder@0.1.0#add" (func $add))
(export "demo:importing/adder@0.1.0#mul" (func $mul)))