you can use cargo check to make sure if your code compiles but does not produce an executable and it is much faster.