We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1675cf commit 66416efCopy full SHA for 66416ef
1 file changed
.github/workflows/run-crasher.yml
@@ -43,6 +43,17 @@ jobs:
43
echo "crashing_time=$crashing_time" >> $GITHUB_OUTPUT
44
- name: Install minimal stable
45
uses: dtolnay/rust-toolchain@stable
46
+ - name: Install mold
47
+ uses: rui314/setup-mold@v1
48
+ - name: Enable mold on Linux
49
+ run: |
50
+ if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
51
+ mkdir .cargo
52
+ echo "[target.x86_64-unknown-linux-gnu]" >> .cargo/config.toml
53
+ echo "linker = \"clang\"" >> .cargo/config.toml
54
+ echo "rustflags = [\"-C\", \"link-arg=-fuse-ld=/usr/local/bin/mold\"]" >> .cargo/config.toml
55
+ fi
56
+ shell: bash
57
- name: Install Protoc
58
uses: arduino/setup-protoc@v3
59
with:
0 commit comments