Skip to content

Fix mips rust <--> zig musl target mapping#454

Merged
messense merged 1 commit into
rust-cross:mainfrom
kallison-zetier:fix-musl-target-mapping
Jul 8, 2026
Merged

Fix mips rust <--> zig musl target mapping#454
messense merged 1 commit into
rust-cross:mainfrom
kallison-zetier:fix-musl-target-mapping

Conversation

@kallison-zetier

Copy link
Copy Markdown
Contributor

Rust's mips musl target uses the triple mips-unknown-linux-musl but zig expects mips-linux-musleabi. This adds the mapping for Mips32 targets to use the Musleabi environment, similiar to the expecetion for gnu/glibc targets. Rust's mips musl target is soft float (+mips32r2,+soft-float).

Rust's mips musl target uses the triple `mips-unknown-linux-musl` but
zig expects `mips-linux-musleabi`. This adds the mapping for Mips32
targets to use the `Musleabi` environment, similiar to the expecetion
for gnu/glibc targets.  Rust's mips musl target is soft float
(`+mips32r2,+soft-float`).
@messense messense merged commit ab08395 into rust-cross:main Jul 8, 2026
43 of 49 checks passed
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