by School-Cotton · 2y ago · 0 comments
Rust has the concept of _crate_, which is very close to the concept of compilation unit in C++. You build a crate by invoking `rustc` with a particular set of arguments, just as you build a compilation unit by invoking `g++` or `clang++` with a particular set of arguments.
One of these arguments defines the edition, for Rust, just like it could for C++.
But! We'll be able to see all the extra parsing happen so in theory you could track down the incompatibilities and do something about them.