Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
rustup 用于设置PATH变量的机制是什么?我在我的.bashrc.
PATH
.bashrc
显然,该PATH变量.profile在用户主目录中导出:
.profile
export PATH="$HOME/.cargo/bin:$PATH"
以下命令适用于 Mac:
source $HOME/.cargo/env