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/
jukan has joined #zig
ur5us has joined #zig
jukan has quit [Ping timeout: 240 seconds]
leon-p has quit [Quit: leaving]
jukan has joined #zig
ur5us_ has joined #zig
ur5us has quit [Ping timeout: 264 seconds]
<dvaun> hm
gazler_ has joined #zig
gazler__ has quit [Read error: Connection reset by peer]
kchambers has quit [Quit: WeeChat 3.0]
jukan has quit [Ping timeout: 246 seconds]
jsb has quit [Quit: .]
jsb has joined #zig
xackus_ has joined #zig
xackus has quit [Ping timeout: 240 seconds]
mmohammadi9812 has quit [Ping timeout: 260 seconds]
mmohammadi9812 has joined #zig
Acais has joined #zig
xackus_ has quit [Ping timeout: 272 seconds]
ur5us_ has quit [Ping timeout: 264 seconds]
Acais has quit [Quit: Connection closed]
mmohammadi9812 has quit [Ping timeout: 260 seconds]
mmohammadi9812 has joined #zig
jjido has quit [Quit: Connection closed for inactivity]
v0idifyy has joined #zig
v0idify has quit [Remote host closed the connection]
sord937 has joined #zig
earnestly has quit [Ping timeout: 256 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
haliucinas has quit [Remote host closed the connection]
haliucinas has joined #zig
jukan has joined #zig
tnorth has joined #zig
jokoon has joined #zig
sord937 has quit [Remote host closed the connection]
sord937 has joined #zig
_whitelogger has joined #zig
jukan has quit [Ping timeout: 264 seconds]
osa1 has joined #zig
osa1_ has quit [Ping timeout: 264 seconds]
hjarvard has joined #zig
cole-h has quit [Ping timeout: 256 seconds]
jokoon2 has joined #zig
jokoon has quit [Ping timeout: 258 seconds]
eio__ has joined #zig
jokoon2 has quit [Ping timeout: 272 seconds]
eio__ has quit [Client Quit]
Xatenev has joined #zig
osa1 has quit [Ping timeout: 240 seconds]
osa1 has joined #zig
neptunepink has quit [Quit: Bye]
neptunepink has joined #zig
osa1 has quit [Ping timeout: 265 seconds]
osa1 has joined #zig
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
maier has joined #zig
earnestly has joined #zig
jukan has joined #zig
osa1 has quit [Ping timeout: 260 seconds]
osa1 has joined #zig
jukan has quit [Ping timeout: 258 seconds]
maier has quit [Quit: leaving]
flokli has quit [Ping timeout: 240 seconds]
marijnfs has quit [Quit: WeeChat 2.8]
flokli has joined #zig
midgard_ is now known as midgard
gazler__ has joined #zig
gazler_ has quit [Ping timeout: 240 seconds]
jukan has joined #zig
Xatenev has quit [Quit: Leaving]
jokoon has joined #zig
leon-p has joined #zig
jukan has quit [Ping timeout: 264 seconds]
nycex- has quit [Quit: Quit]
nycex has joined #zig
zags has joined #zig
xackus_ has joined #zig
tnorth has quit [Quit: Konversation terminated!]
mmohammadi9812 has quit [Ping timeout: 264 seconds]
frett27_ has joined #zig
<zags> is io_mode = .evented a global decision, or is it possible to have blocking mode for parts of the application?
mmohammadi9812 has joined #zig
frett27_ has quit [Ping timeout: 256 seconds]
<ifreund> it's a global decision currently if you use the std
<ifreund> you can of course bypass the std abstractions that behave differently depending on root.io_mode and make blocking syscalls directly
<ifreund> zags: ^
<zags> alright, thanks
<zags> so I guess setting io_mode, or depending on a certain setting, is not something libraries will ever do (if even possible), otherwise they wouldn't compose
<ifreund> indeed
<ifreund> though there's a difference here between "packages" and standalone libraries exporting a C ABI
<ifreund> the former do not have a root file so they cannot set stuff like io_mode
<ifreund> the latter may do whatever they want as they are in their own compilation unit and the root.io_mode setting won't affect code they are linked against
jokoon has quit [Quit: Leaving]
jukan has joined #zig
<g-w1> first class acme support on the way! (#7931 and #7932)
v0idifyy has quit [Remote host closed the connection]
v0idify has joined #zig
gazler__ is now known as gazler
donniewest1 has joined #zig
nvmd has joined #zig
sebonirc has quit [Read error: Connection reset by peer]
sebonirc has joined #zig
jukan has quit [Ping timeout: 258 seconds]
xackus_ has quit [Ping timeout: 240 seconds]
nycex has quit [Remote host closed the connection]
nycex has joined #zig
<dutchie> ooh, that might also improve how build logs look when done in nix
hnOsmium0001 has joined #zig
Akuli has joined #zig
jukan has joined #zig
halbeno has quit [Remote host closed the connection]
halbeno has joined #zig
waleee-cl has joined #zig
xackus_ has joined #zig
zags has quit [Ping timeout: 256 seconds]
sord937 has quit [Remote host closed the connection]
sord937 has joined #zig
a_chou has joined #zig
frett27_ has joined #zig
jukan_ has joined #zig
jukan has quit [Ping timeout: 258 seconds]
frett27_ has quit [Ping timeout: 240 seconds]
frett27_ has joined #zig
<pixelherodev> g-w1: not sure why you cced me :P
<pixelherodev> g-w1: I don't use zig upstream anymore - and couldn't, since I exclusively use 9front these days - so it's not really relevant to me
<pixelherodev> It is nice to see, though :)
earnestly has quit [Ping timeout: 246 seconds]
earnestly has joined #zig
dvaun has quit [Ping timeout: 244 seconds]
<g-w1> i cced you because you use acme
<g-w1> oh ok
osa1_ has joined #zig
osa1 has quit [Ping timeout: 264 seconds]
<pixelherodev> g-w1: I use acme on Plan 9, not on Linux ;)
<g-w1> ah, I use acme (some kakoune for more text editing heavy stuff until I learn sam) in linux and wanted to improve the compat
<pixelherodev> :)
hjarvard has quit [Ping timeout: 260 seconds]
cole-h has joined #zig
mmurd has joined #zig
<mmurd> I'm trying to cross-build for the rpi from a build.zig, how can I set mcpu to arm1176jzf_s like I would on the CLI?
<ifreund> mmurd: standardTargetOptions() returns an std.zig.CrossTarget
<ifreund> you can modify this before passing it to LibExeObjStep.setTarget()
hristo has joined #zig
<andrewrk> if your target is always the rpi, this is a good use case to not call standardTargetOptions
<andrewrk> so you could just call setTarget() and then look at the params for that function - I believe it has an mcpu field that you can set to "arm1176jzf_s"
jukan_ has quit [Ping timeout: 240 seconds]
<mmurd> I'll give setTarget a try. I guess this _would_ be resolved by the proposal for target to include mcpu?
xackus_ has quit [Ping timeout: 264 seconds]
Patrice_ has joined #zig
<andrewrk> mmurd, that's something else, I think. You want setTarget(std.zig.CrossTarget.parse(...))
<andrewrk> arch_os_abi is -target, cpu_features is -mcpu
frett27_ has quit [Ping timeout: 272 seconds]
xackus_ has joined #zig
<mmurd> andrewrk, That's great thanks. Seems to be building :)
victor-trs has joined #zig
vcarvalho has joined #zig
lanodan has quit [Ping timeout: 240 seconds]
lanodan has joined #zig
dch_ has joined #zig
riba has joined #zig
shurane_ has joined #zig
halbeno_ has joined #zig
neptunepunk has joined #zig
jmiven_ has joined #zig
dch_ has quit []
dch_ has joined #zig
halbeno has quit [*.net *.split]
neptunepink has quit [*.net *.split]
shurane has quit [*.net *.split]
dch has quit [*.net *.split]
dtz has quit [*.net *.split]
ifreund_ has quit [*.net *.split]
jmiven has quit [*.net *.split]
bgiannan has quit [*.net *.split]
shurane_ is now known as shurane
<mmurd> `/home/overfl0w/workshop/zig-gpio-tree/libgpiod-1.6.2/lib/core.c:1:1: error: unable to build C object: FileNotFound` What does this mean?
<mmurd> (the core.c file does exist!)
amk has quit [Ping timeout: 264 seconds]
amk has joined #zig
<mmurd> ah, I might have figured it out. A `-include` flag has to be a full path for my use.
ur5us_ has joined #zig
ifreund_ has joined #zig
dtz has joined #zig
wilsonk has quit [Quit: Leaving]
<mmurd> https://github.com/ziglang/zig/issues/3287 I've run into this trying to get it to build, is it possible to specify the glibc otherwise? I have an arm glibc on my machine.
jmiven_ is now known as jmiven
vcarvalho has quit [Quit: WeeChat 2.9]
reductum has joined #zig
<andrewrk> mmm the easiest path forward might actually be fixing whatever issues zig is hitting here
<mikdusan> (side note: glibc has a history of 2 releases/year in Feb/Aug... so 2.33 might be the time to fix)
pafmaf[m] has joined #zig
<ifreund> LemonBoy's comment made it sound like the fix might be as simple as adding some missing headers to the sysdeps folder
<mikdusan> heh 2.33 was tagged 3 hours ago
<ifreund> lol
<ifreund> I guess you
<ifreund> *you're psycic
gazler_ has joined #zig
gazler has quit [Ping timeout: 246 seconds]
<andrewrk> ooh it's time to spend ~20 hours with all 16 cpu cores spinning
<andrewrk> idk what I would do without this 1TB hard drive
<mikdusan> ha is that what it blows up to?
<andrewrk> currently my 2.32 glibc checkout after building it for all architectures is taking up 84G
<mikdusan> not on mirrors yet. but here. http://ftp.gnu.org/gnu/libc/glibc-2.33.tar.xz
<andrewrk> eighty four jiggy biggies
<andrewrk> I use the git clone so I don't need a tarball
<andrewrk> what's with the glibc-2.33.9000 tag?
<mikdusan> that's their work branch until 2.34 I believe
<andrewrk> ah
<mikdusan> I think their logic is they'll never have 9000 patches. and also it sounds like hal9000
<mmurd> For now, I'm "working around" it by running the libraries own `make install` into a dummy directory and then linking against the .a object file.
<andrewrk> in about 10 min I'm going to live stream some of the work I'm doing today, on the topic of the ast memory layout, updating zig fmt to work with it. https://www.twitch.tv/andrewrok
vazub[m] has joined #zig
sord937 has quit [Quit: sord937]
<ifreund> sweet
ur5us_ has quit [Ping timeout: 264 seconds]
ur5us_ has joined #zig
<leah2> is it on?
<mikdusan> resetting wifi router: it's obviously not implemented in .zig
<leah2> ah ok :)
<mikdusan> he's back now
<leah2> works now, thx
frett27_ has joined #zig
Patrice_ has quit [Ping timeout: 272 seconds]
victor-trs has quit [Remote host closed the connection]
jukan has joined #zig
jjido has joined #zig
Amun_Ra has quit [Ping timeout: 264 seconds]
GrooveSt- has joined #zig
Akuli has quit [Quit: Leaving]
Amun_Ra has joined #zig
<motiejus> Meta question: https://github.com/ziglang/zig/issues/7917 got added "0.8" milestone without comments or discussions. Does it mean it was silently accepted/planned/will be talked about? How to interpret it? :)
a_chou has quit [Quit: a_chou]
<ifreund> motiejus: the milestone assignment means that it should be considered before 0.8 and either accepted/rejected/postponed to 0.9 or later
<ifreund> if it is accepted it will be given the accepted label
wilsonk has joined #zig
Patrice_ has joined #zig
frett27_ has quit [Ping timeout: 264 seconds]
jukan has quit [Ping timeout: 264 seconds]
<motiejus> ifreund: thanks, will be looking forward. Is there a cadence when these proposals are reviewed (days/weeks/months)?
<ifreund> in general, whenever the people doing the reviewing have time/interest
jukan has joined #zig
riba has quit [Ping timeout: 240 seconds]
ur5us_ has quit [Ping timeout: 264 seconds]
Patrice_ has quit [Ping timeout: 272 seconds]