Function request:interpreter

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.

3 Likes

Also, there are several ongoing works to make Rust compilation much faster:

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.