Skip to content

use the "home" crate to get CARGO_HOME location #1915

@matthiaskrgr

Description

@matthiaskrgr

Apparently rustup has its own implementation of getting the ${CARGO_HOME} location however it could just use the official home crate that cargo is using to do the same thing:

https://crates.io/crates/home
https://docs.rs/home/0.3.4/home/fn.cargo_home.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions