From 63e26e85a3cd1705256227f4633ffcfad59d619c Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Sun, 4 May 2025 07:48:30 +0800 Subject: [PATCH] ci: disable hurd --- .github/workflows/ci.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90a6ec1fb5..8b91e79052 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -347,7 +347,12 @@ jobs: - target: x86_64-unknown-openbsd - target: x86_64-unknown-haiku - target: armv7-unknown-linux-uclibceabihf - - target: i686-unknown-hurd-gnu + # Disable Hurd due to + # 1. https://github.com/rust-lang/libc/issues/4421 + # 2. https://github.com/nix-rust/nix/pull/2635#issuecomment-2842062528 + # + # We can bring it back when 1 gets fixed and it is applied to the std lib + # - target: i686-unknown-hurd-gnu steps: - name: checkout uses: actions/checkout@v4 @@ -360,13 +365,6 @@ jobs: - name: install src run: rustup component add rust-src - # Cargo uses the latest version of libc(without lock file), which is, at the time of writing - # this, 0.2.172. And the hurd target is broken with 0.2.172: https://github.com/rust-lang/libc/issues/4421 - # So we need to downgrade it. - - name: downgrade libc to 0.2.171 on hurd - if: ${{ matrix.target == 'i686-unknown-hurd-gnu' }} - run: cargo update -p libc --precise 0.2.171 - - name: build uses: ./.github/actions/build with: