Open
Description
Zig Version
0.12.0-dev.3498+aff71c613
Steps to Reproduce and Observed Behavior
I built Zig and LLVM with the m68k target enabled, however Zig fails to build or even emit assembly for m68k-freestanding-eabi
.
error: error(llvm): LLVM failed to parse 'm68k-unknown-unknown-eabi': Unable to find target for this triple (no targets are registered)
error: InvalidLlvmTriple
That's still confusing as the built clang can definitely emit assembly for the target zig is passing to llvm.
The command I used:
zig build-obj -fno-emit-bin -femit-asm=add.s -target m68k-freestanding-eabi ./src/main.zig
Expected Behavior
LLVM has support for this and the llvm/clang I built with m68k support when building Zig does accept this target, so I would expect Zig to also accept it.