11[target .x86_64-pc-windows-msvc ]
22rustflags = [" -C" , " link-args=/NODEFAULTLIB:libcmt.lib" ]
33
4+ [target .x86_64-apple-darwin ]
5+ rustflags = [
6+ " -C" ,
7+ " linker-plugin-lto" ,
8+ " -C" ,
9+ " linker=clang" ,
10+ " -C" ,
11+ " link-arg=-fuse-ld=lld" ,
12+ ]
13+
14+ [target .x86_64-unknown-linux-gnu ]
15+ rustflags = [
16+ " -C" ,
17+ " linker-plugin-lto" ,
18+ " -C" ,
19+ " linker=clang" ,
20+ " -C" ,
21+ " link-arg=-fuse-ld=lld" ,
22+ ]
23+
24+ [target .x86_64-unknown-linux-musl ]
25+ rustflags = [
26+ " -C" ,
27+ " target-feature=-crt-static" ,
28+ " -C" ,
29+ " linker-plugin-lto" ,
30+ " -C" ,
31+ " linker=clang" ,
32+ " -C" ,
33+ " link-arg=-fuse-ld=lld" ,
34+ ]
35+
436[target .aarch64-apple-darwin ]
5- rustflags = [" -C" , " target-cpu=apple-a14" ]
37+ rustflags = [
38+ " -C" ,
39+ " target-cpu=apple-a14" ,
40+ " -C" ,
41+ " linker-plugin-lto" ,
42+ " -C" ,
43+ " linker=clang" ,
44+ " -C" ,
45+ " link-arg=-fuse-ld=lld" ,
46+ ]
647
748[target .aarch64-unknown-linux-gnu ]
849linker = " aarch64-linux-gnu-gcc"
9- rustflags = [" -C" , " target-cpu=cortex-a57" ]
50+ rustflags = [
51+ " -C" ,
52+ " target-cpu=cortex-a57" ,
53+ " -C" ,
54+ " linker-plugin-lto" ,
55+ " -C" ,
56+ " linker=clang" ,
57+ " -C" ,
58+ " link-arg=-fuse-ld=lld" ,
59+ ]
1060
1161[target .armv7-unknown-linux-gnueabihf ]
1262linker = " arm-linux-gnueabihf-gcc"
13- rustflags = [" -C" , " target-cpu=cortex-a7" ]
63+ rustflags = [
64+ " -C" ,
65+ " target-cpu=cortex-a7" ,
66+ " -C" ,
67+ " linker-plugin-lto" ,
68+ " -C" ,
69+ " linker=clang" ,
70+ " -C" ,
71+ " link-arg=-fuse-ld=lld" ,
72+ ]
1473
1574[target .x86_64-unknown-linux-musl ]
1675rustflags = [
1776 " -C" ,
1877 " target-feature=-crt-static" ,
78+ " -C" ,
79+ " linker-plugin-lto" ,
80+ " -C" ,
81+ " linker=clang" ,
82+ " -C" ,
83+ " link-arg=-fuse-ld=lld" ,
1984]
2085
2186[target .aarch64-unknown-linux-musl ]
@@ -25,4 +90,10 @@ rustflags = [
2590 " target-feature=-crt-static" ,
2691 " -C" ,
2792 " target-cpu=cortex-a57" ,
93+ " -C" ,
94+ " linker-plugin-lto" ,
95+ " -C" ,
96+ " linker=clang" ,
97+ " -C" ,
98+ " link-arg=-fuse-ld=lld" ,
2899]
0 commit comments