Skip to content

Commit 6fd9ca1

Browse files
committed
fix: zig build for linux x86_64 on nightly
1 parent fb23ba3 commit 6fd9ca1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
if: contains(matrix.os, 'ubuntu')
6363
run: |
6464
cargo install cross --git https://github.com/cross-rs/cross
65-
cross build --release --target ${{ matrix.target }}
65+
# https://github.com/rust-cross/cargo-zigbuild/issues/327
66+
RUSTFLAGS="-Zlinker-features=-lld" cross build --release --target ${{ matrix.target }}
6667
mv "${{ matrix.artifact_name }}" "${{ matrix.target }}.so"
6768
6869
- name: Build for macOS

0 commit comments

Comments
 (0)