Skip to content

Static-link s390x and riscv64 musl; Add static-link check#2658

Open
Xeonacid wants to merge 1 commit intomozilla:mainfrom
Xeonacid:copilot/fix-sccache-linking-issues
Open

Static-link s390x and riscv64 musl; Add static-link check#2658
Xeonacid wants to merge 1 commit intomozilla:mainfrom
Xeonacid:copilot/fix-sccache-linking-issues

Conversation

@Xeonacid
Copy link
Copy Markdown

@Xeonacid Xeonacid commented Mar 30, 2026

Make it a "portable binary" as stated in README.

Ref: rust-lang/rust@9c37c14

Copilot AI review requested due to automatic review settings March 30, 2026 10:23
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI build matrix to better ensure Linux musl artifacts are truly statically linked, aligning the produced binaries with the “portable binary” promise in the README.

Changes:

  • Adds -Ctarget-feature=+crt-static for s390x-unknown-linux-musl and riscv64gc-unknown-linux-musl builds.
  • Introduces a CI step that inspects musl build artifacts for dynamic dependencies via readelf.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Xeonacid Xeonacid force-pushed the copilot/fix-sccache-linking-issues branch from bfe3714 to 6041201 Compare March 30, 2026 11:48
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.

2 participants