C++ has been criticized because it lacks separate compilation of templates. C++ templates are compiled for (virtually) each instantiation. What is the state of the things for Rust concerning separate compilation of generics ? My understanding is that it behaves like C++ except that instantiations are cached during the compilation of each crate. Is that correct ?C++ has been criticized because it lacks separa