Found it.  It is an optiomization for inode number 0:

|                 // When building to wasip1, the host runtime might be running 
on Windows
|                 // or might expose a remote file system which does not have 
the concept
|                 // of inodes. Therefore, we cannot make the assumption that 
it is safe
|                 // to skip entries with zero inodes.
|                 if ino == 0 && runtime.GOOS != "wasip1" {
|                         //panic("ino == 0")
|                         continue
|                 }

I don't see anything that mandates this number to be set.

Bastian

-- 
Beam me up, Scotty!

Reply via email to