Skip to content

ci: disable hurd #2638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down