abrown commented on issue #5274:
cc: @alexcrichton, @pchickey: I would like to add benchmarks for "scan a directory" and "read a file" but I don't know how to do that yet... any pointers to how to use
path_openandfd_readthe right way?
pchickey commented on issue #5274:
Not much I can say about using fd_read and path_open from using
.watbeyond, read what wasi-libc does to call them and mimic that. There is not a whole lot you can get wrong.fd_readdiris a total nightmare in preview1, but again wasi-libc can show the way.
abrown commented on issue #5274:
I'm going to merge this as-is and figure out the next scenarios in a future PR.
Last updated: Dec 06 2025 at 06:05 UTC