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

Tier 3 support for base targets used by Alpine Linux #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
48 changes: 48 additions & 0 deletions text/0000-alpine-targets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
- Start Date: 2022-10-05
- RFC PR: (leave this empty)
- Nix Issue: (leave this empty)

# Summary
[summary]: #summary

Add the following targets as tier 3 supported platforms:
* `aarch64-unknown-linux-musl`
* `arm-unknown-linux-musleabihf`
* `armv7-unknown-linux-musleabihf`
* `powerpc-unknown-linux-musl`
* `powerpc64-unknown-linux-musl`
* `riscv64gc-unknown-linux-musl`
* `s390x-unknown-linux-musl`

# Motivation
[motivation]: #motivation

The listed targets are used by Alpine Linux for supported architectures (Alpine
creates its own targets, but they are based on the listed ones), except the ones
already supported in nix (`x86_64-unknown-linux-musl`, `i686-unknown-linux-musl`),
and `powerpc64le-unknown-linux-musl`, which is not supported by the libc crate.

Nix failures to compile block at least 10 packages from getting built
for s390x and/or riscv64 architectures, my quick GitLab search for "nix crate" shows.
This should help to monitor potential changes in nix for breaking these architectures.

# Detailed design
[design]: #detailed-design

N/A

# Drawbacks
[drawbacks]: #drawbacks

Possibly increased needed maintainership time. However, failing tier 3 CI
should not be blocking code from inclusion.

# Alternatives
[alternatives]: #alternatives

No new targets.

# Unresolved questions
[unresolved]: #unresolved-questions

N/A