You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo-binstall lacks the ability to parse install.root cargo config value, which makes its behavior a little bit different from cargo-install.
Also, cargo-install uses --root for specifying alternative cargo root, but cargo-binstall uses --roots.
Perhaps we should also rename that option @passcod , which will be a breaking change though?
The text was updated successfully, but these errors were encountered:
NobodyXu
changed the title
Fix cargo root determination to be more similar to carog-install
Fix cargo root determination to be more similar to cargo-installMar 5, 2023
Fixed#859
* Impl `cargo_config`
* Use `install.root` in `$CARGO_HOME/.cargo/config.toml`
before fallback to `cargo_home`.
* Improve logging in `get_cargo_roots_path`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
cargo-install
determins cargo root in the following order:cargo-binstall
lacks the ability to parseinstall.root
cargo config value, which makes its behavior a little bit different fromcargo-install
.Also,
cargo-install
uses--root
for specifying alternative cargo root, butcargo-binstall
uses--roots
.Perhaps we should also rename that option @passcod , which will be a breaking change though?
The text was updated successfully, but these errors were encountered: