wa-lang.org/wazero@v1.0.2/imports/wasi_snapshot_preview1/testdata/cargo-wasi/ls.rs (about) 1 use std::fs; 2 3 fn main() { 4 for path in fs::read_dir(".").unwrap() { 5 println!("{}", path.unwrap().path().display()) 6 } 7 }