Skip to content

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

New issue

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

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

Already on GitHub? # to your account

Closed
Wyvern opened this issue Mar 25, 2025 · 0 comments · Fixed by #138928
Closed

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

Wyvern opened this issue Mar 25, 2025 · 0 comments · 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
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Mar 25, 2025
Zalathar added a commit to Zalathar/rust that referenced this issue Apr 1, 2025
Zalathar added a commit to Zalathar/rust that referenced this issue Apr 1, 2025
@bors bors closed this as completed in e2014e8 Apr 1, 2025
github-actions bot pushed a commit to carolynzech/rust that referenced this issue Apr 3, 2025
# for free to join this conversation on GitHub. Already have an account? # 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