-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcargo_config
More file actions
29 lines (26 loc) · 897 Bytes
/
cargo_config
File metadata and controls
29 lines (26 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[env]
# CC_x86_64-unknown-linux-gnu = "cross-clang"
# CXX_x86_64-unknown-linux-gnu = "cross-clang++"
# CC_x86_64-unknown-linux-musl = "musl-clang"
# CXX_x86_64-unknown-linux-musl = "musl-clang++"
[target.x86_64-unknown-linux-gnu]
linker = "x86_64-linux-gnu-gcc"
# linker = "clang"
# rustflags = ["-C", "link-arg=-fuse-ld=mold"]
[target.x86_64-unknown-linux-musl]
linker = "musl-clang"
# rustflags = ["-C", "link-arg=-Wl,--no-dynamic-linker"]
# rustflags = ["-C", "link-arg=-fuse-ld=lld"]
# rustflags = ["-C", "target-feature=-crt-static"]
[source.crates-io]
replace-with = 'rsproxy-sparse'
[source.rsproxy]
registry = "https://rsproxy.cn/crates.io-index"
[source.rsproxy-sparse]
registry = "sparse+https://rsproxy.cn/index/"
[registries.rsproxy-sparse]
index = "sparse+https://rsproxy.cn/index/"
[registries.rsproxy]
index = "https://rsproxy.cn/crates.io-index"
[net]
git-fetch-with-cli = true