Compiling the rust code for the compiler how? The whole point is that we don't have rustc.
This is a made up restriction.
Ken Thompson, "Reflections on Trusting Trust". https://dl.acm.org/doi/10.1145/358198.358210