Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wyvern opened this issue Mar 25, 2025 · 0 comments · May be fixed by #138928
Open

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

Wyvern opened this issue Mar 25, 2025 · 0 comments · May be fixed by #138928
Labels
C-bug Category: This is a bug. O-uwp-windows-msvc Windows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Comments

@Wyvern
Copy link

Wyvern commented Mar 25, 2025

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)

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 25, 2025
@bjorn3 bjorn3 added C-bug Category: This is a bug. T-libs Relevant to the library team, which will review and decide on the PR/issue. O-uwp-windows-msvc Windows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain. labels Mar 25, 2025
@ChrisDenton ChrisDenton linked a pull request Mar 25, 2025 that will close this issue
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-uwp-windows-msvc Windows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants