Skip to content
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

ci: drop MIPS targets from cross-check #5951

Merged
merged 1 commit into from
Aug 25, 2023
Merged

ci: drop MIPS targets from cross-check #5951

merged 1 commit into from
Aug 25, 2023

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Aug 25, 2023

Currently, Tokio runs cross-compilation checks for the mips-unknown-linux-gnu and mipsel-unknown-linux-musl target triples. However, Rust has recently demoted these targets from Tier 2 support to Tier 3 (see rust-lang/compiler-team#648). Therefore, MIPS toolchains may not always be available, even in stable releases. This is currently breaking our CI builds, as Rust 1.72.0 does not contain a standard library for mips-unknown-linux-gnu.

This branch removes these builds from the cross-compilation check's build matrix. Tokio may still build successfully for MIPS targets, but we can't easily guarantee support when the stable Rust release train may or may not be able to build for MIPS targets.

Currently, Tokio runs cross-compilation checks for the
`mips-unknown-linux-gnu` and `mipsel-unknown-linux-musl` target triples.
However, Rust has recently demoted these targets from Tier 2 support to
Tier 3 (see rust-lang/compiler-team#648). Therefore, MIPS toolchains may
not always be available, even in stable releases. This is currently
[breaking our CI builds][1], as Rust 1.72.0 does not contain a standard
library for `mips-unknown-linux-gnu`.

This branch removes these builds from the cross-compilation check's
build matrix. Tokio may still build successfully for MIPS targets, but
we can't easily guarantee support when the stable Rust release train may
or may not be able to build for MIPS targets.

[1]: https://github.com/tokio-rs/tokio/actions/runs/5970263562/job/16197657405?pr=5947#step:3:80
@hawkw hawkw requested review from carllerche and Darksonn August 25, 2023 20:18
@Darksonn Darksonn added the A-ci Area: The continuous integration setup label Aug 25, 2023
@hawkw hawkw enabled auto-merge (squash) August 25, 2023 20:32
@hawkw hawkw merged commit d1dae25 into master Aug 25, 2023
@hawkw hawkw deleted the eliza/drop-mips branch August 25, 2023 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: The continuous integration setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants