Note: this zld is completely written in Zig and it is a good example of Zig codebase of moderate size and complexity.
Maybe somewhere in there there's a source of difficulty that doesn't directly translate to lines of code.
Also, LLD in trunk can link for Apple Silicon too :)