How can the location of Cargo's configuration directory be overridden?

前端 未结 2 1231
醉酒成梦
醉酒成梦 2020-12-09 22:26

It seems that the default behavior of Cargo when searching for its configuration directory is to look in the current user\'s home directory (~/.cargo on my syst

2条回答
  •  抹茶落季
    2020-12-09 22:36

    The default location can be changed by means of the environment variable $CARGO_HOME, it overrides the default location which is $HOME/.cargo.

提交回复
热议问题