forked from KonghaYao/cn-font-split
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cross.toml
53 lines (45 loc) · 1.58 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
[build]
build-std = false # do not build the std library. has precedence over xargo
xargo = false # enable the use of xargo by default
zig = false # do not use zig cc for the builds
context = "." # the context folder to build the script in. defaults to `.`
[build.env]
passthrough = ["CARGO_WITH_NO_EXTRA", "HARFBUZZ_SYS_NO_PKG_CONFIG"]
[target.aarch64-unknown-linux-gnu]
pre-build = [
"apt update && apt install -y nodejs llvm clang pkg-config libssl-dev",
]
[target.x86_64-unknown-linux-gnu]
pre-build = [
"apt update && apt install -y nodejs llvm clang pkg-config libssl-dev",
]
[target.x86_64-unknown-linux-musl]
pre-build = [
"apt update && apt install -y nodejs llvm clang pkg-config libssl-dev",
]
[target.aarch64-unknown-linux-musl]
pre-build = [
"apt update && apt install -y nodejs llvm clang pkg-config libssl-dev",
]
[target.riscv64gc-unknown-linux-gnu]
pre-build = [
"apt update && apt install -y nodejs llvm clang pkg-config libssl-dev",
]
[target.x86_64-pc-windows-msvc]
pre-build = [
"Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser",
"Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression",
"scoop install main/llvm",
"scoop install main/mingw",
"scoop install main/clangd"
]
[target.x86_64-pc-windows-gnu]
pre-build = [
"Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser",
"Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression",
"scoop install main/llvm",
"scoop install main/mingw",
"scoop install main/clangd"
]
[target.x86_64-apple-darwin]
pre-build = []