<yeti>
would arm-linux-musleabi cortex_a7 as args for bootstrap make sense?
<yeti>
(a cubietruck)
<scientes>
yeti, musleabihf
<yeti>
yip... gcc has that eabihf in the triple too
<yeti>
\o/
<yeti>
I'll try a bootstrap with it
frmdstryr has quit [Ping timeout: 246 seconds]
ofelas has quit [Ping timeout: 240 seconds]
ofelas has joined #zig
<rooke>
Due to the current c abi limitations I have written a tiny function in c to be called by zig. What's the easiest way to call that function?
<scientes>
rooke, probably @cImport @cInclude
<scientes>
rooke, it will tell you if you hit the limitations
Cadey has quit [Ping timeout: 246 seconds]
<ifreund>
^ this and addCSourceFile() in your build.zig
Cadey has joined #zig
<rooke>
I think that last step is what I was missing, it complained about not being able to find the c file
<ifreund>
there's two parts there, you need to addIncludeDir() so it can find the header and addCSourceFile() so it compiles the object
rooke has quit [Ping timeout: 256 seconds]
rooke has joined #zig
losinggeneration has quit [Ping timeout: 260 seconds]
layneson has joined #zig
anton_lilja has joined #zig
layneson has quit [Ping timeout: 246 seconds]
anton_lilja has quit [Quit: Leaving]
Ziemas has quit [Ping timeout: 260 seconds]
layneson has joined #zig
nerthus has quit [Quit: bye]
waleee-cl has joined #zig
jmiven has quit [Quit: reboot]
jmiven has joined #zig
nikita` has quit [Quit: leaving]
frmdstryr has joined #zig
layneson has quit [Ping timeout: 260 seconds]
layneson has joined #zig
ask6155 has joined #zig
<ask6155>
Hello
<mq32>
Hi
<alexnask>
hi
<fengb>
Hi
<pixelherodev>
Salutations, human!
<marler8997>
I asked this yesterday but maybe someone knows the answer today, anyone know what a "backwards branch" is when talking about @setEvalBranchQuota?
<pixelherodev>
Presumably, a branch that goes backwards
<pixelherodev>
e.g.
<pixelherodev>
`a: b(); c(); goto a;`
<pixelherodev>
`goto a` => backwards branch
<ask6155>
So I was thinking of using notcurses in my zig project to make some cool terminal programs. How should I go about doing some cool stuff in the most coolest way? (Remember coolness is more important) I had an idea. Get the code compile the library statically using the zig compiler with musl as libc (If that makes any sense) and then statically link it to my (cool) zig program. Can it get any more cooler?
<pixelherodev>
I mean
<pixelherodev>
static compilation with musl is trivial with Zig
<pixelherodev>
Just `--library c --target x86_64-linux-musl` for instance
Mulugruntz has quit [Ping timeout: 240 seconds]
Mulugruntz has joined #zig
Akuli has joined #zig
<ask6155>
yeah so can it get any cooler? I wan to make it leet h3cker xxX_program_Xxx
<alexnask>
write it in kakoune
<fengb>
Most cool = no libc. Gotta write a curses library
<ifreund>
kakoune has a branch with no ncurses support
<ifreund>
er, no ncurses cause he implemented builtin terminal stuff
<ifreund>
just gotta rewrite kak in zig
penguinicus has joined #zig
penguinicus has quit [Remote host closed the connection]
penguinicus has joined #zig
layneson has quit [Ping timeout: 256 seconds]
ask6155 has left #zig ["k-byeeeee"]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #zig
craigo has joined #zig
knebulae has quit [Read error: Connection reset by peer]
craigo has quit [Quit: Leaving]
craigo has joined #zig
craigo has quit [Client Quit]
a_chou has joined #zig
a_chou has quit [Remote host closed the connection]
craigo has joined #zig
a_chou has joined #zig
a_chou has quit [Client Quit]
rooke has quit [Ping timeout: 258 seconds]
rooke has joined #zig
marler8997 has quit [*.net *.split]
bbrittain has quit [*.net *.split]
ave_ has quit [*.net *.split]
benaiah has quit [*.net *.split]
meowray has quit [*.net *.split]
bens has quit [*.net *.split]
JoshAshby has quit [*.net *.split]
benaiah has joined #zig
\u has joined #zig
bbrittain has joined #zig
ifreund has quit [*.net *.split]
tgschultz has quit [*.net *.split]
hspak has quit [*.net *.split]
Amun_Ra has quit [*.net *.split]
tgschultz has joined #zig
ifreund has joined #zig
Amun_Ra has joined #zig
hspak has joined #zig
nmeum has quit [Remote host closed the connection]
penguinicus has quit [Remote host closed the connection]
penguinicus has joined #zig
linuxgemini has joined #zig
penguinicus has quit [Remote host closed the connection]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #zig
<shcv>
PackedIntIo isn't exposed by std; how do I load it?
<shcv>
or do I need to copy the pieces I need into my library?
nikita` has joined #zig
<leeward>
std.packed_int_array.PackedIntIo
cole-h has joined #zig
frmdstryr has quit [Ping timeout: 258 seconds]
stripedpajamas has joined #zig
bgiannan has quit [*.net *.split]
bsrd has quit [*.net *.split]
bgiannan has joined #zig
<tgschultz>
shcv: I'm curious why you need to access PackedIntoIo directly, since it was designed just as a way to share a bunch of code between the various PackedIntArray/Slice implementations.
<shcv>
I think I'll probably need to implement my own variant, but I wanted to test with it some first
<fengb>
I used it directly in WasmPageAllocator. Saved a few bytes over using a PackedIntSlice
<shcv>
I want to be able to get chunks out of an array that may not be an even multiple of the chunk size
<shcv>
the odds of actually needing to retrieve the last few bits are very low, but it would be nice to handle that case with truncation
marler8997 has joined #zig
ur5us_ has joined #zig
ofelas has quit [Ping timeout: 260 seconds]
ofelas has joined #zig
<shcv>
does branch prediction normally assume the if rather than the else?