title: Overriding Rust installation default paths `$HOME/.cargo` and `$HOME/.rustup`
body: <p>In Rust, by default, files are placed in <code>$HOME/.cargo</code> and <code>$HOME/.rustup</code>. Is there any way to override these defaults?</p>
  
  <p>I am trying to debug an obscure issue and I want to try changing the file locations. </p>