Skip to content

Tracking Issue for Metadata::from_statx in std::os::linux::fs::MetadataExt #156268

Open

Description

@asder8215

Feature gate: #![feature(metadata_statx)]

This is a tracking issue for adding a constructor that constructs a std::fs::Metadata struct from a *const c_void pointer populated by the statx syscall.

Public API

// use std::os::linux::fs::MetadataExt;

pub const STATX_MASK: c_int;

impl MetadataExt for Metadata {
    unsafe fn from_statx(statxbuf: *const c_void) -> Metadata { ... }
}

Note: definition of this function is subject to change.

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩

Activity

  1. added
    T-libs-api
    C-tracking-issue
    S-tracking-unimplemented
    on May 7, 2026
  2. added a commit that references this issue on Jun 29, 2026
  3. added
    T-libs
    and removed
    T-libs-api
    on Aug 12, 2026
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

    C-tracking-issueS-tracking-unimplementedT-libs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions