2 ms·
Because the unit of compilation is a crate, not a file. You don't pass each file to rustc, you pass the crate root only.
by steveklabnik 4y ago
Because the unit of compilation is a crate, not a file. You don't pass each file to rustc, you pass the crate root only.