Now, by default the "cargo" build uses all CPU threads, so if you have a 32 core Threadripper then yes, running 64 simultaneous "rustc" compiles will use 6 or 7 gigabytes.
That's one of the reasons it was rejected in OpenBSD: https://marc.info/?l=openbsd-misc&m=151233345723889&w=2
"> 4 gigs of memory"
https://www.ebay.com/sch/i.html?_fsrp=1&_nkw=computer&_sacat...
by my standards, $5 is not an "expensive computer".
and more to the point, the language has little to do with the compilation memory required. Firefox and Chrome require significantly more memory than that to compile nowadays; they passed the 4 GB mark that could be compiled on a 32-bit machine many years ago, and both Firefox and Chrome were written entirely in C++ at the time. furthermore, you can always enable swap. it'll be slow, but if you can't afford a $5 computer, you take what you can get.
We don't need to re-stratify development so that only people with expensive computers with > 4 gigs of memory can compile what they run.