Skip to content

Get rid of Miri hack in DirEntry::metadata #5327

Description

@RalfJung

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: rust-lang/rust#120426

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions