rust-cross / cargo-zigbuild

Compile Cargo project with zig as linker
MIT License
1.45k stars 52 forks source link

Cannot compile for powerpc-unknown-linux-gnu #151

Closed calebzulawski closed 1 year ago

calebzulawski commented 1 year ago

I get the error:

  = note: error: unable to find or provide libc for target 'powerpc-linux.3.16...5.10.81-gnu.2.19'
          info: zig can provide libc for related target powerpc-linux-gnueabi
          info: zig can provide libc for related target powerpc-linux-gnueabihf
          info: zig can provide libc for related target powerpc-linux-musl

I'm guessing the target needs to be translated to gnueabi or gnueabihf.

messense commented 1 year ago

Pull requests are welcome.