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/
daurnimator has quit [Ping timeout: 260 seconds]
layneson has quit [Ping timeout: 264 seconds]
<leeward> Isn't it std.io.Writer? I don't think io exports writer.
<leeward> The error messages are a bit confusing like that.
apeiro has quit [Ping timeout: 264 seconds]
epmills has joined #zig
daurnimator has joined #zig
layneson has joined #zig
mwgkgk has joined #zig
layneson has quit [Ping timeout: 256 seconds]
aerona has joined #zig
epmills has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #zig
epmills has joined #zig
epmills has quit [Ping timeout: 258 seconds]
traviss has quit [Remote host closed the connection]
aerona has quit [Ping timeout: 265 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
aerona has joined #zig
mwgkgk has quit [Quit: Connection closed for inactivity]
epmills has joined #zig
epmills has quit [Ping timeout: 258 seconds]
reductum has joined #zig
reductum has quit [Quit: WeeChat 2.8]
aerona has quit [Quit: Leaving]
haliucinas has quit [Read error: Connection reset by peer]
haliucinas has joined #zig
haliucinas has quit [Read error: Connection reset by peer]
haliucinas has joined #zig
haliucinas has quit [Ping timeout: 246 seconds]
haliucinas has joined #zig
Mulugruntz has joined #zig
ur5us has quit [Ping timeout: 256 seconds]
knebulae has quit [Ping timeout: 240 seconds]
_Vi has joined #zig
cole-h has quit [Quit: Goodbye]
vegai has quit [Ping timeout: 256 seconds]
dermetfan has joined #zig
_Vi has quit [Ping timeout: 260 seconds]
fraktor has joined #zig
dermetfan has quit [Ping timeout: 272 seconds]
waleee-cl has joined #zig
nikita` has joined #zig
craigo has quit [Ping timeout: 256 seconds]
knebulae has joined #zig
Mulugruntz has quit [Read error: Connection reset by peer]
nycex- has joined #zig
nycex has quit [Ping timeout: 240 seconds]
nycex- is now known as nycex
craigo has joined #zig
ur5us has joined #zig
dermetfan has joined #zig
ur5us has quit [Client Quit]
ur5us has joined #zig
marnix has joined #zig
discipulus has joined #zig
discipulus has left #zig [#zig]
wootehfoot has joined #zig
dongcarl7 has joined #zig
dongcarl has quit [Ping timeout: 246 seconds]
dongcarl7 is now known as dongcarl
wootehfoot has quit [Quit: Leaving]
wootehfoot has joined #zig
traviss has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
wootehfoot has joined #zig
josias has joined #zig
dermetfan has quit [Ping timeout: 260 seconds]
<josias> Hello. I have been trying to get Zig installed on OpenBSD. I first tried getting LLVM 10 installed, but the compilation failed the three times I have tried (including the Zig bootstrap). I also tried building Zig 0.4.0 with the preinstalled LLVM 8, but I get the error, "Zig requires LLVM to be built with all default targets enabled." implying that I must compile it from souorce. Thus, I ask, has anyone here
<josias> got Zig installed on OpenBSD, and if so, what steps did you perform?
ur5us has quit [Ping timeout: 260 seconds]
josias has quit [Quit: leaving]
epmills has joined #zig
epmills has quit [Remote host closed the connection]
craigo has quit [Ping timeout: 240 seconds]
lanodan has quit [Ping timeout: 260 seconds]
wootehfoot has quit [Read error: Connection reset by peer]
daurnimator has quit [Ping timeout: 256 seconds]
dch has quit []
dch has joined #zig
daurnimator has joined #zig
l1x has quit []
strmpnk has quit []
l1x has joined #zig
dermetfan has joined #zig
strmpnk has joined #zig
lanodan has joined #zig
aruniiird has joined #zig
pangey has quit [Ping timeout: 272 seconds]
marnix has quit [Read error: Connection reset by peer]
pangey has joined #zig
josias has joined #zig
mwgkgk has joined #zig
dermetfan has quit [Ping timeout: 256 seconds]
marnix has joined #zig
cren has joined #zig
josias has quit [Quit: Quit]
<Sahnvour> andrewrk: when running a single benchmark from gotta go fast with the manual command line at the end of the readme, it looks like the `app` package is not taken into account regarding caching, and I need to force rebuild by modifying bench.zig
<Sahnvour> I think that shouldn't be ?
marnix has quit [Ping timeout: 264 seconds]
decentpenguin has joined #zig
aruniiird has quit [Quit: Leaving]
<ikskuh> he
<ikskuh> *hey
<ikskuh> is there already an API for string sorting?
<ikskuh> std.sort.sort + a comparison
<ifreund> string sorting is Really Hard
<ifreund> well if you stick to ascii not really
<ikskuh> yeah i know. that's why i'm asking
<ikskuh> otherwise i will just use C collation and be happy :D
marnix has joined #zig
cole-h has joined #zig
cncl has quit []
cncl has joined #zig
decentpenguin has quit [Quit: decentpenguin]
marnix has quit [Ping timeout: 240 seconds]
cren has quit [Ping timeout: 246 seconds]
KKRT has joined #zig
epmills has joined #zig
wootehfoot has joined #zig
FireFox317 has joined #zig
epmills has quit [Remote host closed the connection]
epmills has joined #zig
epmills has quit [Remote host closed the connection]
dputtick has quit []
dputtick has joined #zig
marnix has joined #zig
nikki93 has quit []
nikki93 has joined #zig
cren has joined #zig
creationix has quit []
epmills has joined #zig
creationix has joined #zig
epmills has quit [Ping timeout: 240 seconds]
epmills has joined #zig
marnix has quit [Ping timeout: 246 seconds]
nikita` has quit [Ping timeout: 258 seconds]
cren has quit [Ping timeout: 240 seconds]
nikita` has joined #zig
epmills has quit [Ping timeout: 256 seconds]
marler8997 has quit [Read error: Connection reset by peer]
<GreaseMonkey> something i'm wondering, has there been any effort to add riscv32 as a target? i managed to kludge something together (based on 0.6.0) which can build and run a hello world in qemu, but i'm wondering if there's been any other efforts in that department - i have some HiFive1 boards that need some love :)
<leeward> I think the support for it is at the same level as LLVM.
<GreaseMonkey> in terms of generating code yeah, but... oh right, i guess i didn't need to do any modifications to get it to at least work on bare metal, i was compiling it for riscv32-linux-gnu lol
<leeward> riscv32-freestanding-none ought to work out of the box.
KKRT has quit [Quit: KKRT]
wootehfoot has quit [Quit: Leaving]
KKRT has joined #zig
KKRT has quit [Quit: ā€”I-n-v-i-s-i-o-nā€” 3.1.3 (May '10)]
<GreaseMonkey> next part i'm wondering is how one could go about getting the standard I/O working in -freestanding, i'm getting errors pertaining to os.fd_t not existing when doing warn(), and it's part of the file structure definition
KKRT has joined #zig
xackus has joined #zig
wootehfoot has joined #zig
<leeward> You'll have to hook up a serial port or something yourself.
FireFox317 has quit [Ping timeout: 240 seconds]
nycex- has joined #zig
nycex has quit [Ping timeout: 240 seconds]
KKRT has quit [Quit: KKRT]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #zig
dingenskirchen1 is now known as dingenskirchen
KKRT has joined #zig
<GreaseMonkey> i definitely know how to interface the serial port, the thing i don't know is how to then hook that up to the zig stdlib
<leeward> I think you'll want to wrap it in std.io.Reader and std.io.Writer, and use those. I don't know if there's a way to override stderr and stdout, though that would do it.
<leeward> Oh, hmm, std.log doesn't use a particular stream by default. You could probably hook that into the Writer.
<leeward> Well that's a lie. std.log does use stderr, but you can override it.
<GreaseMonkey> alright, power's going out soon, so i'll go with what i can, thanks for the help
<leeward> good luck
KKRT has quit [Quit: KKRT]
KKRT has joined #zig
_Vi has joined #zig
dermetfan has joined #zig
craigo has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
xackus has quit [Ping timeout: 246 seconds]
ur5us has joined #zig
_Vi has quit [Ping timeout: 260 seconds]
craigo has quit [Ping timeout: 240 seconds]
craigo has joined #zig
dermetfan has quit [Ping timeout: 272 seconds]
KKRT has quit [Quit: KKRT]