Skip to content

fix(ci/run): specify target triple for bindgen-cli installation #4398

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
Jun 29, 2025

Conversation

rami3l
Copy link
Member

@rami3l rami3l commented Jun 29, 2025

Closes #4396.

Following @Kobzol's suggestion in #4396 (comment), this PR makes use of rustc --print host-tuple to ensure compatibility with the host system when installing codegen-cli.

https://github.com/rust-lang/rustup/actions/runs/15953788042?pr=4398 proves that this approach works well with aarch64-unknown-linux-musl and powerpc64le-unknown-linux-musl targets, effectively eliminating the recent CI errors on master.

@rami3l rami3l force-pushed the ci/bindgen-install-failure branch from 9f6c56c to cfea4b3 Compare June 29, 2025 09:43
@rami3l rami3l marked this pull request as ready for review June 29, 2025 09:43
@rami3l rami3l requested review from djc and ChrisDenton June 29, 2025 09:44
@rami3l rami3l enabled auto-merge June 29, 2025 09:46
@rami3l rami3l added this pull request to the merge queue Jun 29, 2025
Merged via the queue into rust-lang:master with commit 2c70689 Jun 29, 2025
29 checks passed
@rami3l rami3l deleted the ci/bindgen-install-failure branch June 29, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bindgen-cli fails to install in certain CI Docker environments
2 participants