+8
-1
.cargo/config-ci.toml
+8
-1
.cargo/config-ci.toml
···
2
2
debug = "none"
3
3
incremental = false
4
4
5
+
[target.x86_64-unknown-linux-gnu]
6
+
rustflags = ["-Clink-arg=-fuse-ld=mold"]
7
+
8
+
[target.aarch64-unknown-linux-gnu]
9
+
rustflags = ["-Clink-arg=-fuse-ld=mold"]
10
+
11
+
[target.x86_64-pc-windows-msvc]
12
+
linker = "rust-lld.exe"
5
13
# NOTE: on Windows, build with the static CRT, so that produced .exe files don't
6
14
# depend on vcruntime140.dll; otherwise the user requires visual studio if they
7
15
# download a raw .exe
8
-
[target.x86_64-pc-windows-msvc]
9
16
rustflags = ["-Ctarget-feature=+crt-static"]
+4
.github/workflows/ci.yml
+4
.github/workflows/ci.yml
···
80
80
- uses: taiki-e/install-action@0f58b6a196e0d71c72fd459ab8fd8b228f85f669
81
81
with:
82
82
tool: nextest,taplo-cli
83
+
- name: Install mold
84
+
uses: rui314/setup-mold@f80524ca6eeaa76759b57fb78ddce5d87a20c720
85
+
with:
86
+
make-default: false
83
87
- name: Build
84
88
run: >-
85
89
cargo build