wa-lang.org/wazero@v1.0.2/experimental/testdata/fs.wat (about) 1 (module 2 (type $tp (func (param $fd i32) (param $path i32) (param $path_len i32) (result (;errno;) i32))) 3 (import "wasi_snapshot_preview1" "fd_prestat_dir_name" (func $fd_prestat_dir_name (type $tp))) 4 (func (export "fd_prestat_dir_name") (type $tp) 5 (call $fd_prestat_dir_name (local.get 0) (local.get 1) (local.get 2)) 6 ) 7 (memory (export "memory") 1 1) ;; memory is required for WASI 8 )