Skip to content

canonicalizing paths on RAM disks fails #59107

Closed as not planned
Closed as not planned

Description

@xNxExOx

I was trying to build tokio example but I encountered these errors. I tried both discord for Rust Programming Language, and tokio gitter, where I was told it is compiler error.
I have Windows 10 1803 in Czech language, so "Nesprávná funkce." would be something like "Invalid function." in English.

code example from:
https://github.com/tokio-rs/tokio/blob/master/examples/chat.rs

Meta

rustc --version --verbose:

rustc 1.33.0 (2aa4c46cf 2019-02-28)
binary: rustc
commit-hash: 2aa4c46cfdd726e97360c2734835aa3515e8c858
commit-date: 2019-02-28
host: x86_64-pc-windows-msvc
release: 1.33.0
LLVM version: 8.0

Backtrace:
https://pastebin.com/NTMDxvD2

Activity

  1. xNxExOx commented on Mar 11, 2019

    @xNxExOx
    Author

    A:\ is my RAM drive, why output folder can not be on RAM drive?

  2. added
    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    C-bugCategory: This is a bug.
    on Mar 11, 2019
  3. added
    O-windowsOperating system: Windows
    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    C-bugCategory: This is a bug.
    and removed
    C-bugCategory: This is a bug.
    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on Mar 11, 2019
  4. retep998 commented on Mar 11, 2019

    @retep998
    Contributor

    Rust currently insists on canonicalizing paths, which unfortunately does not work on certain types of drives. To fix this libstd would need to gain a way of normalizing paths without canonicalizing them, and then rustc would be updated to use that everywhere.

  5. changed the title [-]Invalid Function error[/-] [+]canonicalizing paths on RAM disks fails[/+] on Aug 21, 2023
  6. Enselic commented on Aug 21, 2023

    @Enselic
    Member

    Triage: This is about problems canonicalizing paths on RAM drives. So is #48249, so closing as duplicate.

  7. added a commit that references this issue on Sep 3, 2026
  8. added 3 commits that reference this issue on Sep 3, 2026
  9. added a commit that references this issue on Sep 4, 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-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️O-windowsOperating system: WindowsT-compilerRelevant to the compiler 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