How refactoring a macro reduced my Rust project build time from 4 hours to 40sec

I have a very large macro instantiation, which takes 4 or 5 hours to compile with Rust 1.40, so I’m looking to improve this unreasonably long build time. The macro wasn’t always this slow to build, it seems to have gotten slower with newer versions of Ru… Read more