rust-cross/cargo-zigbuild

Cross-compiling to `s390x-unknown-linux-musl` with `-Zbuild-std` failed!

Closed this issue · 1 comments

Cross-compiling to s390x-unknown-linux-musl with -Zbuild-std got error like below:

error: linking with `../cargo-zigbuild/0.19.3/zigcc-s390x-unknown-linux-musl-f7eb.sh` failed: exit status: 1

  = note: LLVM ERROR: Cannot select: 0x7fc278cd6350: i32 = fp_to_fp16 0x7fc278dad580
            0x7fc278dad580: f32,ch = CopyFromReg 0x7fc27874b6d0, Register:f32 %10
              0x7fc27a481920: f32 = Register %10
          In function: __fixhfsi

s390x musl target is tier 3 Rust platform, you're on your own to figure out how to fix it.