just playing with tangled

github: use faster linkers in CI

This shaves off something like 20 to 40 seconds for Linux. It’s
seemingly within the margin of error for Windows, so not sure if
we’ll want to keep it there.

Emily 3ad42b8f 5d483391

Changed files
+12 -1
.cargo
.github
workflows
+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
··· 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