High memory usage with cargo build in match statement #131410
Labels
A-patterns
Relating to patterns and pattern matching
C-bug
Category: This is a bug.
I-compilemem
Issue: Problems and improvements with respect to memory usage during compilation.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The memory usage gets high really quickly which causes my pc to crash.
Code
Full git repo: https://github.com/Joshix-1/cargo-memory-leak
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=03d0fd2c2ceeb588e5297389a01f9fa9
Meta
rustc --version --verbose
:also on playground, nightly and stable
Error output
The text was updated successfully, but these errors were encountered: