添加 'rust_config'
parent
2f862e57d3
commit
212e1c42b8
|
|
@ -0,0 +1,21 @@
|
||||||
|
[source.crates-io]
|
||||||
|
# To use sparse index, change 'rsproxy' to 'rsproxy-sparse'
|
||||||
|
replace-with = 'rsproxy'
|
||||||
|
|
||||||
|
[source.rsproxy]
|
||||||
|
registry = "https://rsproxy.cn/crates.io-index"
|
||||||
|
[source.rsproxy-sparse]
|
||||||
|
registry = "sparse+https://rsproxy.cn/index/"
|
||||||
|
|
||||||
|
[registries.rsproxy]
|
||||||
|
index = "https://rsproxy.cn/crates.io-index"
|
||||||
|
|
||||||
|
[net]
|
||||||
|
git-fetch-with-cli = true
|
||||||
|
|
||||||
|
[target.x86_64-unknown-linux-musl]
|
||||||
|
linker = "x86_64-linux-musl-gcc"
|
||||||
|
[target.x86_64-pc-windows-gnu]
|
||||||
|
linker = "x86_64-w64-mingw32-gcc"
|
||||||
|
ar = "x86_64-w64-mingw32-gcc-ar"
|
||||||
|
|
||||||
Loading…
Reference in New Issue