Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit d5b3c48

Browse files
committed
Add mold back
1 parent 8d0d4dd commit d5b3c48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/binary.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: clang
1112
RUSTFLAGS: "--cfg tokio_unstable -Clink-arg=-fuse-ld=mold -Zshare-generics=y"
1213

1314
jobs:
@@ -17,6 +18,10 @@ jobs:
1718
steps:
1819
- uses: actions/checkout@v4
1920

21+
- run: |
22+
sudo apt update
23+
sudo apt install -y mold clang pkgconf
24+
2025
- uses: actions-rust-lang/setup-rust-toolchain@v1
2126
with:
2227
target: x86_64-unknown-linux-gnu

0 commit comments

Comments
 (0)