Skip to content

ci: fix cross compilation toolchains - #14

Merged
yorkiemakoto merged 2 commits into
masterfrom
codex/fix-cross-ci
Nov 12, 2026
Merged

yorkiemakoto merged 2 commits into
masterfrom
codex/fix-cross-ci

Conversation

@yorkiemakoto

@yorkiemakoto yorkiemakoto commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

The ARM64 musl bindings job fails on ubuntu-latest because bindgen's Clang searches host headers instead of the target musl sysroot. The LoongArch64 GNU nightly job fails because Rust passes --no-rosegment, which the installed GNU linker does not support. The coverage job also fails with Rust 1.100 because two trybuild diagnostic snapshots no longer match the compiler output.

Pass the cross compiler's sysroot to bindgen for ARM64 musl. For LoongArch64 GNU, install LLD and route the GCC linker driver through a small wrapper so the same linker is used by nested trybuild invocations. Pin the coverage job to Rust 1.99.1, which matches the existing snapshots; other stable jobs continue tracking the latest compiler.

Validation: both original matrix jobs passed in a master-based control run, and the unchanged coverage suite passed with Rust 1.99.1 in a separate control run. No generated files are committed.

Refs: #12

Point bindgen at the ARM64 musl sysroot and use LLD for LoongArch GNU links. The linker wrapper also applies to nested trybuild invocations.
@yorkiemakoto
yorkiemakoto merged commit 68f92ff into master Nov 12, 2026
37 checks passed
@yorkiemakoto
yorkiemakoto deleted the codex/fix-cross-ci branch November 12, 2026 19:55
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.

1 participant