crate fails to compile release build (v1.65+) with rustc crashing #106555
Labels
C-bug
Category: This is a bug.
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The crate linked below no longer compiles on version 1.65 (and 1.66). On version 1.64 and prior it successfully compiles. The issue only applies to release builds. During compilation the memory for rustc gradually grows until it fails to allocate memory. In my case around 40+GB of memory being used by rustc.
Code
https://github.com/d00z3l/python
I expected to see this happen: release build compile
Instead, this happened: rustc crashes
Version it worked on
It most recently worked on:
Version with regression
Backtrace
rustc crashes, with RUST_BACKTRACE enabled the cmd process also crashes so I can't get the backtrace output
The text was updated successfully, but these errors were encountered: