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

Commit 5b50c56

Browse files
committed
Try mold run instead
1 parent 39d3306 commit 5b50c56

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/binary.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ on:
99
env:
1010
CARGO_TERM_COLOR: always
1111

12-
RUSTFLAGS: "--cfg tokio_unstable -Clink-arg=-fuse-ld=mold -Zshare-generics=y"
13-
14-
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: clang
15-
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: clang
12+
RUSTFLAGS: "--cfg tokio_unstable -Zshare-generics=y"
1613
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
1714

1815
jobs:
@@ -42,7 +39,7 @@ jobs:
4239
sudo apt install -y gcc-aarch64-linux-gnu mold clang pkgconf
4340
4441
- name: Build
45-
run: cargo build --release --target ${{ matrix.target }}
42+
run: mold -run cargo build --release --target ${{ matrix.target }}
4643

4744
- name: Upload artifact
4845
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)