ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
isaachier has joined #zig
isaachier has quit [Quit: Page closed]
cenomla has joined #zig
cenomla has quit [Quit: cenomla]
cenomla has joined #zig
cenomla has quit [Remote host closed the connection]
qazo has quit [Read error: Connection reset by peer]
<GitHub135>
zig/master 7fdbaec Andrew Kelley: zig fmt: same-line comment after non-block if expression
<GitHub52>
[zig] andrewrk opened pull request #992: Segmented list implementation (master...segmented-list) https://git.io/vpofC
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
alexnask has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dodo has joined #zig
Dodo has quit [Ping timeout: 260 seconds]
davr0s has joined #zig
alexnask has quit [Ping timeout: 240 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
noonien has joined #zig
<GitHub92>
[zig] isaachier opened pull request #993: Add clang-tidy run on zig sources, minor CMake improvements (master...cmake-clang-tidy) https://git.io/vpo8N
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
MajorLag1 has joined #zig
vec__ has joined #zig
epsyloN- has joined #zig
alandipert has quit [*.net *.split]
MajorLag has quit [*.net *.split]
ofelas has quit [*.net *.split]
epsyloN has quit [*.net *.split]
vec_ has quit [*.net *.split]
alandipert has joined #zig
steveno_ has joined #zig
ofelas has joined #zig
Dodo has joined #zig
<Dodo>
hi all!
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MajorLag1>
Anyone aware of something strange with release modes and @embedFile? I'm getting some as-of-yet inexplicable memory corruption, and while digging in to it I've managed to crash the compiler by taking a slice with constants, but it only happens in release builds.
<MajorLag1>
...ok, @embedFile is not a requirement to produce the compiler crash at least
<MajorLag1>
I think this is probably #955
<MajorLag1>
Or maybe not. Problem seems slightly different in my project.
<MajorLag1>
The good news is that whatever this is, it is definitely the cause of my texture corruption in release. Seems to be two separate issues, one involving taking a slice using constants and a different one involving @ptrCast
<andrewrk>
MajorLag1, nothing comes to mind yet. let me know if you come up with a test case
<MajorLag1>
I added one to #955, but I think there might be a separate bug. One seems triggered by using slices with constant or literal start/end, and that one crashes compiler even in debug, but there's something with taking a ptrCast of global bytes that doesn't work right in release only.
<MajorLag1>
It seems like it is related though... trying to come up with a test case for that part.
davr0s has joined #zig
<MajorLag1>
Huh. I can't seem to do better than crashing the compiler in the "only happens in release modes" case. Not sure why my code wouldn't crash and I instead just had corrupt data.
<MajorLag1>
Anyway, both cases are in #955
Ichorio has joined #zig
<andrewrk>
thanks
redj has quit [Ping timeout: 240 seconds]
steveno_ has quit [Quit: Leaving]
redj has joined #zig
hobomatic has quit [Quit: goodbye]
noonien has quit [Quit: Connection closed for inactivity]