2 ms·
Shared CI environments should always impose some sort of resource limit. Even without turing-complete type systems, you can still make compilation take effecti
by eridius 10y ago
Shared CI environments should always impose some sort of resource limit.
Even without turing-complete type systems, you can still make compilation take effectively forever. It's been a while since I tested, but by my recollection, creating a fixed-length array of sufficiently large size in Rust would make compilation hang indefinitely (well, for much longer than I was ever willing to let it run). Of course this particular behavior may have been fixed (or maybe not; I'm not in a position to test right now), but I'm sure there's other ways to produce artificially long compilation times as well.