Compilation is too slow. Can we create an interpreter for testing, while the compiler is used for production (a small brain hole)
An interpreter already exists: GitHub - rust-lang/miri: An interpreter for Rust's mid-level intermediate representation
You can use it to run tests with the command
cargo miri test (after installing it through rustup). However, you may find that it is also slow, depending on what your tests do.