schme245 has quit [Remote host closed the connection]
azth has quit [Remote host closed the connection]
_Vi has joined #zig
tyler569 has joined #zig
mahmudov has quit [Read error: Connection reset by peer]
mahmudov has joined #zig
_Vi has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 260 seconds]
mahmudov has quit [Ping timeout: 240 seconds]
ur5us has joined #zig
<wilsonk>
andrewrk: thought I would take a quick stab at issue #4020, bit if I modify ir.cpp so that ir_resolve_fn() is only called if CallModifier is always_inline, compile_time or async_kw then a new error comes up: 'cannot assign to constant'. There are only two spots that can happen: ir.cpp:17920 or 17940. 17940 is where the actual error message originates from so I assume allow_write_through_const is false when it should be true? Maybe?
darithorn has joined #zig
ur5us has quit [Ping timeout: 260 seconds]
marmotini_ has joined #zig
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #zig
marmotini_ has quit [Read error: Connection reset by peer]
marmotini_ has joined #zig
<andrewrk>
happy new year from -0500
marmotini_ has quit [Ping timeout: 258 seconds]
<leeward>
\o/
swoogan has quit [Ping timeout: 260 seconds]
lunamn has quit [Ping timeout: 268 seconds]
ur5us has joined #zig
lunamn has joined #zig
schme245 has joined #zig
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #zig
_whitelogger has joined #zig
schme245 has quit [Ping timeout: 240 seconds]
_whitelogger has joined #zig
mahmudov has joined #zig
ur5us has quit [Ping timeout: 260 seconds]
mahmudov has quit [Remote host closed the connection]
benjif_ has joined #zig
ur5us has joined #zig
benjif has quit [Ping timeout: 258 seconds]
marmotini_ has joined #zig
_whitelogger has joined #zig
return0e_ has joined #zig
return0e has quit [Ping timeout: 240 seconds]
mahmudov has joined #zig
mahmudov has quit [Remote host closed the connection]
mahmudov has joined #zig
return0e has joined #zig
return0e_ has quit [Ping timeout: 258 seconds]
darithorn has quit [Remote host closed the connection]
marmotini_ has quit [Remote host closed the connection]
<schme245>
in this code, is the if statement guaranteed to get inlined since the `encrypted` parameter is known at compile time? or does that only apply to comptime variables?
<azth>
Hi all. When I run this locally (compiler version `zig-macos-x86_64-0.5.0+25051832b`), the program exits with a `SIGBUS (Misaligned address error)`. Link to program: https://godbolt.org/z/vooLCw
<azth>
However, if I change line 10 to `var point = I32Wrapper{.x = 10}`, and call `var p = foo(&point)` it exits without errors.
<schme245>
andrewrk: just updated the code with your suggestions, thanks a lot for your time! :)
<schme245>
also, is DES of interest for the std lib? there's already AES in there, and while it's preferable there are many protocols which depend on DES
<hryx>
Can anyone remind me how to build without @panic? I have the boilerplate code with `export fn entry` and `pub fn panic` but I forget if there's a required build flag
<fengb>
release-fast should remove panic
<andrewrk>
fengb, are you thinking of unreachable? @panic is defined to call the panic handler in all build modes
azth has quit [Remote host closed the connection]
<andrewrk>
hryx, you're trying to get a minimal file for debugging zig ir, yes?
<fengb>
Oh I thought the question is removing the handler
<fengb>
For unreachable
<hryx>
andrewrk: exactly. actually I was trying to shrink the output of what azth linked (but they just left)
<traviss>
ah. thats still sounds like a pretty good time. i tried myself to port the nbody-gcc-8.c solution but ran into problems related to _mm_cvtps_pd and similar
Aransentin has quit [Remote host closed the connection]
<traviss>
thank you :)
protty has quit [Ping timeout: 260 seconds]
Akuli has quit [Quit: Leaving]
swoogan has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #zig
return0e has quit [Read error: Connection reset by peer]
return0e has joined #zig
return0e has quit [Remote host closed the connection]
mahmudov has quit [Remote host closed the connection]