ziglang / zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
https://ziglang.org
MIT License
34.47k stars 2.52k forks source link

Send patch to LLVM adding the muslabin32 target environment #2909

Open andrewrk opened 5 years ago

andrewrk commented 5 years ago

musl supports the mipsn32 ABI but LLVM only has musl, musleabi, and musleabihf.

This C ABI is therefore unavailable in Zig even though musl provides it.

This should be an uncontroversial patch that I expect LLVM to accept easily.

https://github.com/llvm/llvm-project/blob/c23619b0c90056f9bd63f9b5d79caf5bf63618e8/llvm/include/llvm/ADT/Triple.h#L209-L211

alexrp commented 1 month ago

Doing this now, and will also add muslabi64 while I'm here. (muslx32 has also been added in the meantime since this issue was opened.)

alexrp commented 1 month ago

https://github.com/llvm/llvm-project/pull/107664