How to drive the rust compiler?

This is better asked on internals.rust-lang.org, there are lots of people there who know how the compiler works