Is it possible to have multiple coexisting Rust installations?

后端 未结 6 1031
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-10 15:58

Would it be possible to have a nightly build Rust compiler for convenience (faster build cycle, auto-update) and a dev version of Rust cloned from GitHub for experimentation

6条回答
  •  無奈伤痛
    2020-12-10 16:27

    You also don't need to install your development version. You could just make symlink from somewhere in your $PATH to the rustc binary that lives somewhere inside the source tree/build directory, the compiler will find its dynamically linked dependencies and it will emit binaries that know about that path too (if even dynamically linked).

提交回复
热议问题