(component (core module $libc (;0;) (type (;0;) (func (param i32 i32 i32 i32) (result i32))) (memory (;0;) 1) (export "realloc" (func 0)) (export "memory" (memory 0)) (func (;0;) (type 0) (param i32 i32 i32 i32) (result i32) unreachable ) ) (core instance $libc (;0;) (instantiate $libc)) (core module $m (;1;) (type (;0;) (func (param i32 i32 i32) (result i32))) (import "" "stream.read" (func $stream-read (;0;) (type 0))) ) (type $stream-type (;0;) (stream string)) (alias core export $libc "memory" (core memory (;0;))) (alias core export $libc "realloc" (core func (;0;))) (core func $stream-read (;1;) (canon stream.read $stream-type async (memory 0) (realloc 0))) (core instance (;1;) (export "stream.read" (func $stream-read)) ) (core instance $i (;2;) (instantiate $m (with "" (instance 1)) ) ) )