Still no m68k, sh2, etc?
Re:Zig is becoming more production-worthy
by Toaster-King on Tuesday July 05, 2022 @06:19AM
(#31986432)
Both these arch's are contingent on LLVM support, as there is no self-hosted backend (yet). m68k support was merged in LLVM 13, but I haven't seen anyone use it with Zig.
> The standard library can be used unmodified on freestanding targets thanks to explicit allocation, comptime is extremely useful for things like precalculated lookup tables, and the unfinished C backend (part of the stage 2 compiler) means we’ll be able to target exotic architectures that LLVM can’t.
[0] https://allyourcodebase.com/embedded/
[1] https://github.com/ZigEmbeddedGroup