zig icon indicating copy to clipboard operation
zig copied to clipboard

add error message for `-fno-llvm` `-flld`

Open Rexicon226 opened this issue 1 year ago • 4 comments

cc @andrewrk @kubkon

Rexicon226 avatar Apr 29 '24 20:04 Rexicon226

Can you please explain the purpose of this change in the commit message? The diff is small, but why is this warranted?

andrewrk avatar Apr 29 '24 20:04 andrewrk

How's this?

Rexicon226 avatar Apr 29 '24 21:04 Rexicon226

Zig will never support linking in stage2 with LLD as the self-hosted backends are linker driven.

I don't think that's accurate. Since zig supports build-obj, that functionality can be repurposed to pass the output to LLD. Not sure where you got this idea from.

andrewrk avatar Apr 29 '24 21:04 andrewrk

Ah my apologies, I did not phrase that correctly. One moment.

Rexicon226 avatar Apr 29 '24 21:04 Rexicon226