ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
JinShil has joined #zig
isd has joined #zig
darithorn has joined #zig
isd has quit [Ping timeout: 255 seconds]
lainon has joined #zig
vegecode has joined #zig
fubd has joined #zig
fubd has quit [Client Quit]
dbandstra has joined #zig
isd has joined #zig
<isolier> andrewrk: Regarding emitting intel syntax, I found using the zig option to emit llvr-ir, then using llc (with respective intel syntax option) to compile to intel assembly works well enough.
kristate has joined #zig
kristate has quit [Remote host closed the connection]
darithorn has quit [Quit: Leaving]
isd has quit [Remote host closed the connection]
<dbandstra> const Struct = struct { a: bool, b: i32 }; // does it make sense that @alignOf(Struct) is returning 1?
<dbandstra> i thought that the alignment of a struct would be that of the highest-alignment field in it
<andrewrk> dbandstra, that's still TODO
<andrewrk> field re-ordering
davr0s has joined #zig
very-mediocre has joined #zig
very-mediocre has quit [Ping timeout: 260 seconds]
<dbandstra> do you need field re-ordering? wouldn't you just add padding bytes? it seems like that already happens because that struct i pasted has a size of 8
<dbandstra> so i'm assuming that there are already three padding bytes after the bool and before the i32
very-mediocre has joined #zig
<dbandstra> feels like @alignOf is just returning the alignment of the first struct field
_whitelogger has joined #zig
lainon has quit [Quit: Leaving]
quc has joined #zig
dbandstra has quit [Quit: Leaving]
very-mediocre has quit [Quit: Page closed]
lainon has joined #zig
alexnask has joined #zig
zolk3ri has joined #zig
very-mediocre has joined #zig
lainon has quit [Ping timeout: 264 seconds]
_whitelogger has joined #zig
Ichorio has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_whitelogger has joined #zig
JinShil has quit [Read error: Connection reset by peer]
vegecode has quit [Ping timeout: 260 seconds]
very-mediocre has quit [Ping timeout: 260 seconds]
davr0s has joined #zig
andi3 has joined #zig
very-mediocre has joined #zig
andi3 has quit [Ping timeout: 260 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjido has joined #zig
hoppetosse has joined #zig
lainon has joined #zig
lain0n has joined #zig
lainon has quit [Ping timeout: 240 seconds]
lain0n has quit [Quit: Leaving]
davr0s has joined #zig
mahmudov has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyler_ is now known as tyler569
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexnask has quit [Ping timeout: 240 seconds]
hoppetosse has quit [Ping timeout: 255 seconds]
davr0s has joined #zig
very-mediocre has quit [Ping timeout: 260 seconds]
isd has joined #zig
isd1 has joined #zig
Ichorio has quit [Ping timeout: 248 seconds]
isd has quit [Ping timeout: 265 seconds]
dbandstra has joined #zig
alexnask has joined #zig
isd has joined #zig
isd1 has quit [Ping timeout: 256 seconds]
juturnas has joined #zig
<juturnas> Is it possible to declare your own type for an imported C function? I'm trying to pass a callback to a C function, but it doesn't like that the pointer to the callback is const
<juturnas> Or is there an escape hatch that can be used to discard the constness?
bodie_ has quit [Quit: ZNC 1.6.6+deb1 - http://znc.in]
bodie_ has joined #zig
bodie_ has joined #zig
<juturnas> Found a couple examples of the former in the zig repo, good to go
isd has quit [Ping timeout: 248 seconds]
isd has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
quc has quit [Remote host closed the connection]
davr0s has joined #zig
juturnas has quit [Ping timeout: 260 seconds]
juturnas has joined #zig
darithorn has joined #zig
juturnas has quit [Ping timeout: 260 seconds]
juturnas has joined #zig
isd has quit [Remote host closed the connection]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vinski has quit [Ping timeout: 240 seconds]
juturnas has quit [Ping timeout: 260 seconds]