-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCross.toml
119 lines (89 loc) · 2.96 KB
/
Cross.toml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[target.aarch64-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.aarch64-unknown-linux-musl]
dockerfile = "ci/Dockerfile"
[target.arm-unknown-linux-gnueabi]
dockerfile = "ci/Dockerfile"
[target.armv7-unknown-linux-gnueabihf]
dockerfile = "ci/Dockerfile"
[target.i686-unknown-linux-musl]
dockerfile = "ci/Dockerfile"
[target.mips-unknown-linux-musl]
dockerfile = "ci/Dockerfile"
build-std = true
pre-build = [
"apt-get -yq --no-install-suggests --no-install-recommends install gcc-mips-linux-gnu libc6-dev-mips-cross",
"export CC_mips_unknown_linux_gnu=mips-linux-gnu-gcc",
"export AR_mips_unknown_linux_gnu=mips-linux-gnu-gcc-ar",
"export CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc"
]
[target.mipsel-unknown-linux-musl]
dockerfile = "ci/Dockerfile"
build-std = true
[target.mips64-unknown-linux-gnuabi64]
dockerfile = "ci/Dockerfile"
build-std = true
[target.mips64el-unknown-linux-gnuabi64]
dockerfile = "ci/Dockerfile"
build-std = true
[target.powerpc-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.powerpc64-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.powerpc64le-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.x86_64-unknown-linux-musl]
dockerfile = "ci/Dockerfile"
[target.x86_64-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.i686-unknown-freebsd]
dockerfile = "ci/Dockerfile"
[target.x86_64-unknown-freebsd]
dockerfile = "ci/Dockerfile"
[target.x86_64-unknown-netbsd]
dockerfile = "ci/Dockerfile"
pre-build = [
"mkdir -p /tmp/netbsd",
"curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O",
"tar -C /tmp/netbsd -xJf base.tar.xz",
"cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib",
"rm base.tar.xz",
"rm -rf /tmp/netbsd",
]
[target.riscv64gc-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.i686-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.arm-unknown-linux-gnueabihf]
dockerfile = "ci/Dockerfile"
[target.arm-unknown-linux-musleabi]
dockerfile = "ci/Dockerfile"
[target.arm-unknown-linux-musleabihf]
dockerfile = "ci/Dockerfile"
[target.s390x-unknown-linux-gnu]
dockerfile = "ci/Dockerfile"
[target.x86_64-pc-windows-gnu]
dockerfile = "ci/Dockerfile"
[target.i686-pc-windows-gnu]
dockerfile = "ci/Dockerfile"
# [target.i686-apple-darwin]
# image = "ghcr.io/cross-rs/i686-apple-darwin-cross:local"
# dockerfile = "ci/Dockerfile"
# build-std = true
[target.x86_64-apple-darwin]
image = "chanderlud/cccp:x86_64-apple-darwin"
dockerfile = "ci/Dockerfile"
build-std = true
[target.aarch64-apple-darwin]
image = "chanderlud/cccp:aarch64-apple-darwin"
dockerfile = "ci/Dockerfile"
build-std = true
[target.x86_64-pc-windows-msvc]
image = "chanderlud/cccp:x86_64-pc-windows-msvc"
dockerfile = "ci/Dockerfile"
[target.i686-pc-windows-msvc]
image = "chanderlud/cccp:i686-pc-windows-msvc"
dockerfile = "ci/Dockerfile"
[target.aarch64-pc-windows-msvc]
image = "chanderlud/cccp:aarch64-pc-windows-msvc"
dockerfile = "ci/Dockerfile"