If you didn’t need to look at the code at all, why not write it in asm instead of Rust, and make it even faster?
If we don't care about inspecting the output, why don't we just replace the Rust compiler with something that generates assembly from Rust source, and then cross check the output with a few million random Rust programs?