I just installed Rust with rustup on MacOS and noticed that there are two rustc
and two cargo
binaries:
~/.cargo/bin/rustc (cargo)
~/.rustup/toolchains/stable-x86_64-apple-darwin/bin/rustc (cargo)
Their versions are exactly the same, but diff
shows there exists some difference. So why are there two different rustc
(cargo
) binaries and which one should I use?
.cargo
are basically proxies to the current toolchain, right? – Scotia