ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
forgot-password has quit [Quit: leaving]
Ichorio has quit [Ping timeout: 272 seconds]
zez2c has quit [Ping timeout: 272 seconds]
_whitelogger has joined #zig
gonzus has quit [Ping timeout: 256 seconds]
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Ping timeout: 272 seconds]
darithorn_ has joined #zig
darithorn has quit [Ping timeout: 272 seconds]
redj has quit [Ping timeout: 245 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 258 seconds]
_whitelogger has joined #zig
darithorn_ has quit [Quit: Leaving]
redj has joined #zig
kristate has joined #zig
kristate has quit [Ping timeout: 268 seconds]
qazo has quit [Ping timeout: 268 seconds]
qazo has joined #zig
diltsman has quit [Ping timeout: 256 seconds]
_whitelogger has joined #zig
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Ping timeout: 268 seconds]
vegai has joined #zig
Sahnvour has joined #zig
<Sahnvour>
hi, has anyone else errors with newlines not being '\n' on compiler explorer ?
forgot-password has joined #zig
itschin has joined #zig
Ichorio has joined #zig
kristate has joined #zig
kristate has quit [Ping timeout: 258 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 240 seconds]
itschin has left #zig ["Leaving"]
kristate has joined #zig
knebulae has quit [Quit: Leaving]
wootehfoot has joined #zig
Zaab1t has joined #zig
MajorLag has quit [Ping timeout: 264 seconds]
MajorLag has joined #zig
Sahnvour has quit [Quit: Page closed]
vegecode has joined #zig
<vegecode>
Hey everyone, can anyone tell me if there is a sscanf type function? I see parseUnsigned and such.
Zaab1t has quit [Ping timeout: 268 seconds]
Zaab1t has joined #zig
Zaab1t has quit [Client Quit]
wootehfoot has quit [Read error: Connection reset by peer]
jfo has joined #zig
<vegecode>
can anyone point me to a repo with tests on functions that take file pointers so I can model my function tests after that?
<andrewrk>
vegecode, I believe Jimmi (hejsil) has a proof-of-concept of a sscanf-like API
<andrewrk>
probably in his "fun-with-zig" repo
<euantor>
It only started failing to build when I added the functions dealing with `HashMap`s, so I guess I've broken something along the way there
<andrewrk>
euantor, --verbose will list commands before executing them
<euantor>
Awesome, will try that thanks
<andrewrk>
but it should also print the last command that failed after it fails even without --verbose
<vegecode>
Thanks.
<euantor>
Damn, that didn't get me too much further. I did just notice I didn't finish implementing hash() full though, so I guess I'll fix that then try again. https://www.irccloud.com/pastebin/sU8CDtrn/
<andrewrk>
euantor, it looks like zig, the compiler, is crashing, which is a bug in zig
<andrewrk>
you can run the command again and see what it says: /usr/local/bin/zig/zig test /app/src/main.zig --output /app/zig-cache/test
<euantor>
Ok, will try that then
<andrewrk>
and then I'll give you the standard "you hit a compiler bug" instructions: 1. sorry about that, that's why we're still early beta 2. if you can reduce it down to a small test case, that's the best way to get it resolved, and for me to offer a workaround in the meantime
<euantor>
Not a problem. I'll play some more and see wha I can figure out
<andrewrk>
euantor, also if you're willing to use a debugger I can instruct you how to look at the backtrace and find out, in the source code, what caused the crash
dirkson has joined #zig
<euantor>
Great, thanks. I’m stepping away from the computer for an hour or so - might end up taking you up on that tomorrow
steveno has joined #zig
<vegecode>
Could someone take a look and tell me why I'm getting this error?