Initial reorg.
This is largely the same as #305, but updated for the current tree.
This commit is contained in:
11
crates/misc/py/examples/two_modules/two.wat
Normal file
11
crates/misc/py/examples/two_modules/two.wat
Normal file
@@ -0,0 +1,11 @@
|
||||
(module
|
||||
(import "one" "memory" (memory $memory 0))
|
||||
(import "one" "bar" (func $bar (result i32)))
|
||||
(export "ask" (func $foo))
|
||||
|
||||
(func $foo (result i32)
|
||||
call $bar
|
||||
;; Deference returned pointer to the value from imported memory
|
||||
i32.load
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user