• Github 中文镜像
Sign inSign up
Watch966
Star102.4k
Fork61.8k
Tag: rust.cargo
Switch branches/tags
K / Cargo 的配置文件.md
移动浏览 Clone
加载中...
到移动设备上浏览
11 lines 1012 B
First commit on 7 Jun 2020

    Cargo 的配置文件查找顺序:

    - /projects/foo/bar/baz/.cargo/config
    - /projects/foo/bar/.cargo/config
    - /projects/foo/.cargo/config
    - /projects/.cargo/config
    - /.cargo/config
    - $CARGO_HOME/config which defaults to:
        - Windows: %USERPROFILE%\.cargo\config
        - Unix: $HOME/.cargo/config
    

    详细配置查看官方文档:https://doc.rust-lang.org/cargo/reference/config.html