ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
jfo has joined #zig
<jfo> andrewrk: been messing with darwin Stat, filed an issue with my status.
<andrewrk> jfo, one thing going on here is there is a concept of alignment
<jfo> I thought that might have something to do with it
<andrewrk> in the C ABI, which is what Zig uses for extern structs, fields are in order, and each type has an "ABI Alignment". you can see the ABI alignment for any type in zig by using @alignOf(Type)
<jfo> how do you think that is being affected by this diff
cenomla has joined #zig
jfo has quit [Ping timeout: 260 seconds]
cenomla has quit [Quit: cenomla]
cenomla has joined #zig
cenomla has quit [Client Quit]
cenomla has joined #zig
cenomla has quit [Client Quit]
cenomla has joined #zig
_whitelogger has joined #zig
brendons has joined #zig
cenomla has quit [Quit: cenomla]
brendons has quit [Quit: Leaving]
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
Elronnd has joined #zig
_dev_zero has quit [Ping timeout: 248 seconds]
_dev_zero has joined #zig
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
dimenus has joined #zig
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
<dimenus> andrewrk, assuming you have no reservations I'm going to merge master into llvm6 again (following the guidelines you gave the other day)
<dimenus> just running tests now
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
<andrewrk> dimenus, go for it
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
_dev_zero has quit [Ping timeout: 248 seconds]
_dev_zero has joined #zig
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
<GitHub131> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFayk
<GitHub131> zig/master 6bf1547 Andrew Kelley: Merge branch 'darwin-stat'...
<ltr_> hello
<andrewrk> hi ltr_
<ltr_> my pc freezes when i compile llvm in debug mode, wtf
<dimenus> what platform?
<ltr_> linux
<dimenus> gcc/ld use a lot of RAM
<dimenus> :)
<ltr_> with clang
<dimenus> andrewrk, is it possible to call zig without a build.zig file?
<ltr_> i had compiled chromium in this machine with 0 problems, really weird
<GitHub138> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFaFO
<GitHub138> zig/master 403a46a Andrew Kelley: fix test failure on 32 bit windows
<andrewrk> dimenus, yes, see `zig --help`
<andrewrk> also `zig build --verbose` tells you what it does
<dimenus> hmmm, plain '--verbose' does not exist in main.cpp
<dimenus> maybe it was removed?
<andrewrk> dimenus, it's in build_runner.zig
<dimenus> ah
<andrewrk> zig build compiles build_runner.zig which imports the user's build.zig
<dimenus> wow, i just broke zig pretty hard
<dimenus> :D
<dimenus> var windows.HMODULE =windows.LoadLibraryA("opengl32.lib");
<dimenus> var rc: windows.HMODULE = windows.LoadLibraryA("opengl32.lib");
<andrewrk> nice, did you crash the compiler?
<dimenus> ?.c:1:1: note: previous definition is here
<dimenus> TODO: remember C source location to display here
<dimenus> F:\code\tools\zig\build-w64-msvc-llvm6\bin\load.zig:1:17: error: compiler bug: @cImport generated invalid zig code
<dimenus> ^
<dimenus> const windows = @cImport({
<dimenus> repeated about 100 times
<andrewrk> sounds like a bug in parsec.cpp
<andrewrk> ltr_, is working on one of those
<ltr_> the workarround is to move the declaration of typedef after the definition of the structs
<GitHub134> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFaxy
<GitHub134> zig/master 019f180 Andrew Kelley: fix test failures...
<andrewrk> dimenus, I just ran into #537
<GitHub53> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFVv4
<GitHub53> zig/master 1403748 Andrew Kelley: disable broken 32 bit windows test...
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<andrewrk> I think I did CryptGetRandom wrong
<andrewrk> *CryptGenRandom
<dimenus> tested with llvm5?
benq has joined #zig
<andrewrk> I tested with both, I think it never worked on 32 bit windows
<andrewrk> see how we have 32 bit windows tests disabled?
jfo has joined #zig
<dimenus> yes, you have me a bit confused though.
<dimenus> what do you mean you ran into 537? using math functions in i386?
<andrewrk> see the commit I just pushed
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig
dimenus has quit [Ping timeout: 260 seconds]
benq has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benq has joined #zig
<GitHub31> [zig] bscheinman opened pull request #609: add epoll and timerfd support on linux (master...linux_timer) https://git.io/vFVLS
<GitHub151> [zig] andrewrk pushed 4 new commits to master: https://git.io/vFVqJ
<GitHub151> zig/master 87407b5 Brendon Scheinman: add epoll and timerfd support on linux
<GitHub151> zig/master 5ae53da Andrew Kelley: rename test
<GitHub151> zig/master 5895204 Andrew Kelley: Merge branch 'linux_timer' of https://github.com/bscheinman/zig into bscheinman-linux_timer
<GitHub51> [zig] andrewrk closed pull request #609: add epoll and timerfd support on linux (master...linux_timer) https://git.io/vFVLS
<GitHub183> [zig] andrewrk pushed 1 new commit to master: https://git.io/vFVqN
<GitHub183> zig/master a890380 Andrew Kelley: fix windows trying to run linux-only tests
_dev_zero has quit [Remote host closed the connection]
_dev_zero has joined #zig