2 ms·
If you like that sort of thing you'll enjoy following the creater on twitter. Here's another of her creations > Did you know you can just fork() the @rustlang
by iudqnolq 6y ago
If you like that sort of thing you'll enjoy following the creater on twitter. Here's another of her creations
> Did you know you can just fork() the @rustlang compiler from your proc_macro?
> Unfortunately rustc is multithreaded and fork() only forks one thread. We'll just assume the other threads weren't doing anything important.
> In today's rustc, this means we're only missing the main thread in the fork. But that one was only going to call exit() after joining our thread anyway, so not very important. It just means the process always exits with a success status. So instead we grep the output for "error".
https://mobile.twitter.com/m_ou_se/status/1368844186607357957 https://mobile.twitter.com/m_ou_se/status/136884418660735795...