This commit is contained in:
2026-07-11 16:25:58 -06:00
parent 475f0a7f68
commit d71d78c68f
24 changed files with 458 additions and 120 deletions
+5
View File
@@ -0,0 +1,5 @@
ret > ExitSuccess
out > 22
out >
err > warning: using `--invoke` with a function that returns values is experimental and may break in the future
err >
+19
View File
@@ -0,0 +1,19 @@
(module
(func
(param)
(result i32)
(local i32 i32 i32 i32 i32)
(i32.const 3)
(i32.const 4)
i32.mul
(local.set 0)
(i32.const 2)
(i32.const 5)
i32.mul
(local.set 1)
(local.get 0)
(local.get 1)
i32.add
(local.set 2)
(local.get 2))
(export "main" (func 0)))
+1
View File
@@ -0,0 +1 @@
(+ (* 3 4) (* 2 5))