Open
Description
ICE linked with async closure and incremental compilation
Code
I could not reproduce a minimal code.
- First compile this project (you need a postgres server running, we provide some docker file for it )
- then changing this line
by removing the async
When the ICE occurs rustc uses massive amounts of memory.
Clearing and compiling with the change just produces the expected error.
Meta
rustc --version --verbose
:
rustc 1.87.0-nightly (f04bbc60f 2025-02-20)
binary: rustc
commit-hash: f04bbc60f8c353ee5ba0677bc583ac4a88b2c180
commit-date: 2025-02-20
host: x86_64-pc-windows-msvc
release: 1.87.0-nightly
LLVM version: 20.1.0
also occurs in
rustc 1.85.0 (4d91de4e4 2025-02-17)
binary: rustc
commit-hash: 4d91de4e48198da2e33413efdcd9cd2cc0c46688
commit-date: 2025-02-17
host: x86_64-pc-windows-msvc
release: 1.85.0
LLVM version: 19.1.7
Error output
no error output
Metadata
Metadata
Assignees
Labels
Area: Incremental compilationCategory: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleIssue: Problems and improvements with respect to memory usage during compilation.Relevant to the compiler team, which will review and decide on the PR/issue.