Skip to content

build std error for target *-uwp-windows-msvc #138921

Closed
@Wyvern

Description

@Wyvern

Build with -Zbuild-std for uwp windows target got error like below:

error[: no method named `is_reparse_point` found for struct `sys::fs::windows::FileType` in the current scope
   --> /rustc/f8c27dfe1a2e7fb538fd91dad53de06992c7c967\library\std\src\sys\fs\windows.rs:550:33
    |
43  | pub struct FileType {
    | ------------------- method `is_reparse_point` not found for this struct
...
550 |             if attr.file_type().is_reparse_point() {
    |                                 ^^^^^^^^^^^^^^^^ method not found in `FileType`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `std` (lib) due to 1 previous error

Rust: rustc 1.87.0-nightly (f8c27dfe1 2025-03-24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-uwp-windows-msvcWindows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain.T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions