"the basic unit of compilation is a crate, so you can't compile a subset of a crate" - I keep hearing this, but it doesn't make any sense to me. Is this just an ideological position or are there technical reasons why this can't be done? It seems to me extremely useful to be able to suspend this rule temporarily for compiling and testing single modules. What is the advantage of enforcing that the entire crate must build successfully in order to run unit tests for a tiny subset of the crate?
↧