-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCross.toml
46 lines (34 loc) · 1.39 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
[build]
pre-build = [
"apt-get update && apt-get install unzip",
"PROTOC_ZIP=protoc-22.3-linux-x86_64.zip",
"curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v22.3/$PROTOC_ZIP",
"unzip -o $PROTOC_ZIP -d /usr/local bin/protoc",
"unzip -o $PROTOC_ZIP -d /usr/local 'include/*'",
"rm -f $PROTOC_ZIP",
"protoc --version"
]
[target.x86_64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:edge"
[target.x86_64-unknown-linux-musl]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:edge"
[target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge"
[target.aarch64-unknown-linux-musl]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-musl:edge"
[target.aarch64-linux-android]
image = "ghcr.io/cross-rs/aarch64-linux-android:edge"
[target.i686-linux-android]
image = "ghcr.io/cross-rs/i686-linux-android:edge"
[target.armv7-linux-androideabi]
image = "ghcr.io/cross-rs/armv7-linux-androideabi:edge"
[target.x86_64-linux-android]
image = "ghcr.io/cross-rs/x86_64-linux-android:edge"
[target.x86_64-pc-windows-gnu]
image = "ghcr.io/cross-rs/x86_64-pc-windows-gnu:edge"
[target.x86_64-pc-windows-msvc]
image = "ghcr.io/cross-rs/x86_64-pc-windows-msvc:edge"
[target.x86_64-apple-darwin]
image = "ghcr.io/cross-rs/x86_64-apple-darwin:edge"
[target.aarch64-apple-darwin]
image = "ghcr.io/cross-rs/aarch64-apple-darwin:edge"