ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<andrewrk>
I think the options might be better as build-obj
<andrewrk>
rather than build-exe
<andrewrk>
unable to rename object file into final output: file system error
<tiehuis>
yeah, got that same error
<tiehuis>
also, build-obj assumes we are linking together object files in this case so we cant emit asm without errors
<tiehuis>
since I didn't bother adding any of the generated output as link arguments when generating that assembly
dimenus has joined #zig
<tiehuis>
would it be suitable to just not link in codegen_link when there are no objects, or is there a better way?
<andrewrk>
I don't understand what you mean about assuming we are linking together object files
<tiehuis>
with this command `zig build-obj t.zig --output example.asm --emit asm`
<andrewrk>
oh, I haven't tried that yet
Guest327 has quit [Ping timeout: 246 seconds]
<andrewrk>
here's a more verbose error message
<andrewrk>
unable to rename object file ./zig-cache/example.o into final output /run/user/1000/compiler-explorer-compiler117103-17663-1a32dfl.ldxnu3di/output.s: file system error