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

canonicalizing paths on RAM disks fails #59107

Closed
xNxExOx opened this issue Mar 11, 2019 · 3 comments
Closed

canonicalizing paths on RAM disks fails #59107

xNxExOx opened this issue Mar 11, 2019 · 3 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@xNxExOx
Copy link

xNxExOx commented Mar 11, 2019

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

@xNxExOx
Copy link
Author

xNxExOx commented Mar 11, 2019

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

@jonas-schievink jonas-schievink added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels Mar 11, 2019
@estebank estebank added O-windows Operating system: Windows I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-bug Category: This is a bug. and removed C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 11, 2019
@retep998
Copy link
Member

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.

@Enselic
Copy link
Member

Enselic commented Aug 21, 2023

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

@Enselic Enselic closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2023
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. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ O-windows Operating system: Windows T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants