rustc panics when trying to get session directory when building project on ramdisk #62631
Labels
A-incr-comp
Area: Incremental compilation
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.
Seems similar to #52440, but no cross platform weirdness is in play. Project builds fine on a normal C drive on windows, but when the same repo is cloned to a ramdisk (created by imdisk driver) on windows, rustc panics.
First incremental compilation gives an error so it appears to be handled, but then the compiler panics.
`
error: incremental compilation: error canonicalizing path : Incorrect function. (os error 1)
thread 'rustc' panicked at 'src\librustc\session\mod.rs:813: Trying to get session directory from IncrCompSession
NotInitialized
', src\librustc\util\bug.rs:37:26`
Platform info:
rustc 1.36.0-nightly (50a0defd5 2019-05-21) running on x86_64-pc-windows-msvc compiler flags: -C debuginfo=2 -C incremental --crate-type bin
The text was updated successfully, but these errors were encountered: