I generally like #rustlang but I think every project developer should be forced to use it on a Raspberry Pi with 4GB RAM... had to build Vaultwarden (https://github.com/dani-garcia/vaultwarden) on one, and man,,, after 15 minutes compilation is no longer running because the device went OOM and now is so hot the fan is louder that a datacenter server...
Just to be clear, I think this is a Rust problem, not a project problem.
@danielsreichenbach It is neither a Rust problem nor a project problem in my opinion. You shouldn't compile on a potato xD
Don't get me wrong, I love such boards, I even have one. But you can just cross compile and transfer the binary.
@danielsreichenbach @mo8it how many threads is it using to build? I’m guessing the default isn’t one.
@danielsreichenbach @mo8it so -j N will make it work for some N. Probably cargo should be a little smarter when system memory is limited and pick a smaller N and this doesn’t sound very difficult to fix.
@ambihelical @mo8it nope, it's basically spawning about 20 threads.