Skip to content

Commit c1f11ff

Browse files
committed
use cross environment for x86_64-unknown-linux-musl builds
1 parent 173a9d9 commit c1f11ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: .github/workflows/build-and-test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/checkout@v4
6262

6363
- name: Install cross (non-x86_64 linux)
64-
if: "!contains(matrix.target, 'x86_64') && runner.os == 'Linux'"
64+
if: "matrix.target != 'x86_64-unknown-linux-gnu' && runner.os == 'Linux'"
6565
run: |
6666
pushd "$(mktemp -d)"
6767
wget https://github.com/cross-rs/cross/releases/download/v0.2.4/cross-x86_64-unknown-linux-musl.tar.gz
@@ -75,7 +75,6 @@ jobs:
7575
run: |
7676
sudo apt-get update
7777
sudo apt-get install musl-tools
78-
sudo ln -s "/usr/bin/g++" "/usr/bin/musl-g++"
7978
8079
- name: Set up extra cargo flags
8180
if: matrix.no-zstd-thin

0 commit comments

Comments
 (0)