add support for --oformat=binary #7164
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
zig cc
Zig as a drop-in C compiler feature
Milestone
LLD supports outputting raw binary instead of ELF when given
--oformat=binary
flag. It is currently supported only when usingzig clang
(as-Wl,--oformat=binary
), but we should also support it when usingzig cc
.We could also use that to implemenent
-ofmt=raw
(forbuild-exe
), which will solve #2826 and #5309, and allow us to get rid ofinstallRaw
build step.The text was updated successfully, but these errors were encountered: