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
<GitHub43> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFc5h
<GitHub43> zig/master 4a6df04 Andrew Kelley: slightly more verbose error message when building object file fails
<andrewrk> tiehuis, I think all this junk in the .s file made with --emit asm is from debug info
<andrewrk> if we fixed --strip it might look better
<tiehuis> what are the steps to fix strip?
<andrewrk> I haven't looked at it yet, but it should be straightforward
<andrewrk> I'm thinking that, we abstract debug info a little bit, and if strip is on, we don't even create LLVM IR that has debug info
<tiehuis> that object rename issue seems pretty simple. I'll see if I can create the directories first for the output
<andrewrk> I don't know what is causing the crash vint but I bet it's something simple
<andrewrk> *crash with --strip
_whitelogger has joined #zig
_whitelogger has joined #zig
_whitelogger has joined #zig
cenomla has quit [Quit: cenomla]
PV_ has quit [Ping timeout: 260 seconds]
tiehuis has quit [Quit: WeeChat 1.9.1]
arBmind has joined #zig
arBmind has quit [Quit: Leaving.]
<GitHub114> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFCMt
<GitHub114> zig/master f0d7551 Andrew Kelley: add compile-time reflection for function arg types...
<GitHub55> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFCMh
<GitHub55> zig/master 4cc9fe9 Andrew Kelley: fix build on MacOS
cenomla has joined #zig
PoF6 has joined #zig
_dev_zero has quit [Ping timeout: 248 seconds]