On 09/03/2018 16:14, maya%netbsd.org@localhost wrote:
The rust compiler is multi-threaded so 1 process can use all the cores of the system all on its own. However if you have got the resources to handle it its still quite a lot faster to build rust with MAKE_JOBS set to a value >1I strongly suspect you are running out of RAM due to lang/rust not respecting MAKE_JOBS and linking in parallel, killing Xorg.
Thankfully my build machine has the RAM to cope but given the average size of a rustc process it would be easy to see how it could eat all the system RAM and swap.
Mike