I was playing with Rust when I encountered a bug inside a cargo projects source code, I changed the code to fix the bug and recompiled the project but it was still using the old code which made me think.
Is Rust compiling the source code of a cargo package on my machine or does the result come from the cloud? If it is compiled on my machine is it only done once? Where are the results? If they are compiled in the Cloud how does that maintain compatibility between versions (of Rust) if the binary is static? Or are is there a binary for each Rust version?