#5327·miri

Get rid of Miri hack in DirEntry::metadata

Author: RalfJungCreated Sep 19, 2026Updated Sep 19, 2026

The standard library currently carries a special codepath for Miri in DirEntry::metadata. This is needed because Miri does not support fstatat (or the equivalent mode for statx). This is in turn blocked on std supporting a version of std::fs::symlink_metadata that works relative to a Dir.

Relevant tracking issue: https://github.com/rust-lang/rust/issues/120426