Skip to content

Commit b834171

Browse files
authored
ci: disable hurd (#2638)
1 parent 9c97e1d commit b834171

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,12 @@ jobs:
347347
- target: x86_64-unknown-openbsd
348348
- target: x86_64-unknown-haiku
349349
- target: armv7-unknown-linux-uclibceabihf
350-
- target: i686-unknown-hurd-gnu
350+
# Disable Hurd due to
351+
# 1. https://github.com/rust-lang/libc/issues/4421
352+
# 2. https://github.com/nix-rust/nix/pull/2635#issuecomment-2842062528
353+
#
354+
# We can bring it back when 1 gets fixed and it is applied to the std lib
355+
# - target: i686-unknown-hurd-gnu
351356
steps:
352357
- name: checkout
353358
uses: actions/checkout@v4
@@ -360,13 +365,6 @@ jobs:
360365
- name: install src
361366
run: rustup component add rust-src
362367

363-
# Cargo uses the latest version of libc(without lock file), which is, at the time of writing
364-
# this, 0.2.172. And the hurd target is broken with 0.2.172: https://github.com/rust-lang/libc/issues/4421
365-
# So we need to downgrade it.
366-
- name: downgrade libc to 0.2.171 on hurd
367-
if: ${{ matrix.target == 'i686-unknown-hurd-gnu' }}
368-
run: cargo update -p libc --precise 0.2.171
369-
370368
- name: build
371369
uses: ./.github/actions/build
372370
with:

0 commit comments

Comments
 (0)