Skip to content

Support "lstat" and "stat" on Linux (and all other Unixes) #4744

@RalfJung

Description

@RalfJung

This is like #4684, but for fn stat and fn lstat. #4714 did most of the work here, now all that's left is

  • in the various foreign_items.rs files, make the same adjustments as that PR but for stat and lstat
  • add tests directly calling stat and lstat to make sure it actually works

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-filesArea: related to files, paths, sockets, file descriptors, or handlesA-shimsArea: This affects the external function shimsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementE-good-first-issueA good way to start contributing, mentoring is available

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions