-i
is the flag which enables incremental compilation which trades disk space for faster subsequent builds. In order to do that, rustc
saves additional metadata to disk which can be quite large especially for big crates like some parts of the compiler. If you're extremely constrained on disk space, you shouldn't use -i
.
Edit: I see there was more discussion on this here