Skip to content

stat on directory returns weird timestamps #5182

Open
@Arshia001

Description

@Arshia001

Steps to reproduce:

  • run WinterJS with: wasmer run build/winterjs-st.wasm --net --mapdir /app:tests -- /app/simple.js --single-threaded
  • simple.js should call createRequire('/app/simple.js')
  • this ends up calling tokio::fs::metadata on /app
  • the timestamps returned are: 1730106167038906518, 1730106167038906518, 1730106167038906518 (for ctim, mtim, atim)

It should be possible to recreate the issue by just calling metadata on a folder that's the root of a mounted FS tree, but I haven't verified this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions