We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e075103 commit 81f11efCopy full SHA for 81f11ef
.github/workflows/ci.yml
@@ -277,6 +277,14 @@ jobs:
277
toolchain: ${{ matrix.target == 'aarch64-apple-darwin' && 'beta' || 'stable' }}
278
target: ${{ matrix.target }}
279
if: ${{ !matrix.container }}
280
+
281
+ - name: fix build openssl error on s390x
282
+ if: ${{ matrix.target == 's390x-unknown-linux-musl' }}
283
+ run: |
284
+ # see https://github.com/openssl/openssl/issues/27323
285
+ echo CFLAGS="-march=z10 -mzarch" >> $GITHUB_ENV
286
+ echo CXXFLAGS="$CFLAGS" >> $GITHUB_ENV
287
+ echo RUSTFLAGS="-C target-cpu=z10" >> $GITHUB_ENV
288
289
- name: Build
290
run: cargo build --locked --release --bin ${{ matrix.binary || 'sccache' }} --target ${{ matrix.target }} --features=openssl/vendored ${{ matrix.extra_args }}
0 commit comments