ChanServ changed the topic of #zig to: zig programming language | https://ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
scientes has quit [Ping timeout: 268 seconds]
scientes has joined #zig
<emekankurumeh[m]> andrewrk: when zig is linking c libraries should it preferentially link to the static ones, or the dynamic ones?
oast is now known as toast
toast is now known as oats
shawn_ has joined #zig
scientes has quit [Ping timeout: 245 seconds]
<emekankurumeh[m]> i just got mingw to link libc successfully!
<emekankurumeh[m]> i get "lld-link: warning: found both wmain and main; using latter" though
shawn_ has quit [Ping timeout: 272 seconds]
<emekankurumeh[m]> was there a breaking change that made orelse stop working with c pointer?
dewf has quit [Quit: Leaving]
<emekankurumeh[m]> the following won't compile because of that.
_whitelogger has joined #zig
_whitelogger has joined #zig
jjido has joined #zig
very-mediocre has joined #zig
wink_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wink_ has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wink_ has quit [*.net *.split]
fsateler has quit [*.net *.split]
Vinski has quit [*.net *.split]
commander has quit [*.net *.split]
andrewrk has quit [*.net *.split]
edr has quit [*.net *.split]
oky has quit [*.net *.split]
niftynei has quit [*.net *.split]
commander has joined #zig
andrewrk has joined #zig
edr has joined #zig
Vinski has joined #zig
fsateler has joined #zig
jjido has joined #zig
Barabas has joined #zig
Barabas has quit [Ping timeout: 256 seconds]
Barabas has joined #zig
scientes has joined #zig
Zaab1t has joined #zig
scientes has quit [Ping timeout: 250 seconds]
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zaab1t has quit [Ping timeout: 255 seconds]
scientes has joined #zig
Zaab1t has joined #zig
wootehfoot has joined #zig
Zaab1t has quit [Ping timeout: 246 seconds]
oky has joined #zig
<scientes> I really wish zig had multiple return values. Is there any problem in the grammer with this?
<scientes> I see a problem with how to handle errors
<scientes> I guess it is fine how it is, it is just kinda ugly to have ret_foo pointers as arguments
<scientes> actually, it would make the language more functional, and then allow more functions to be labeled PURE
develonepi3 has quit [Remote host closed the connection]
wootehfoot has quit [Read error: Connection reset by peer]
<andrewrk> this will be solved with no-copy semantics + anonymous array literals
very-mediocre has quit [Ping timeout: 256 seconds]
<mikdusan> are enum literals supposed to work for union(enum) as well?
<andrewrk> yes when the field type is void
<scientes> but arrays can only have one type???
<scientes> can you give an example
<scientes> you mean annonymous struct literals?
<mikdusan> how does one add a pull request to an github issue? i assume preference is create issue for tracking, attach pull request to issue ?
<scientes> mikdusan, in the commit write "Closes: #1234", and then submit the pull request
<scientes> in git
<mikdusan> thanks
Zaab1t has joined #zig
eubn has joined #zig
Barabas has quit [Ping timeout: 256 seconds]
Ichorio has joined #zig
Zaab1t has quit [Remote host closed the connection]
eubn has quit [Remote host closed the connection]
hryx has quit []
hryx has joined #zig
Ichorio has quit [Ping timeout: 268 seconds]
<scientes> I'm getting a TODO crash in stage1 on const_values_equal for error unions
<scientes> and if I just return false, I am getting a crash at get_error_union_type(CodeGen*, ZigType*, ZigType*): Assertion `payload_type->di_type' failed.
THFKA4 has joined #zig
wilsonk|3 has joined #zig
wilsonk has quit [Ping timeout: 246 seconds]