I've used zig + dvui https://github.com/david-vanderson/dvui
it worked great for me to setup, have not gotten very far yet
(linux wayland here)
I've used zig + dvui https://github.com/david-vanderson/dvui
it worked great for me to setup, have not gotten very far yet
(linux wayland here)
@kris yeah, zig's on my shitlist at the minute https://social.treehouse.systems/@dysfun/117445730951920978
ah, what system? did you use the zig-bootstrap repo/release?
i managed to bootstrap off of guix with a shell, but that was some versions ago.
@kris this was linux, using the bootstrap.c out of the repo
@dysfun if you want to bootsrap with llvm, you need to use this repo:
https://github.com/ziglang/zig-bootstrap
Not very well communicated i guess, but to be fair the number of newbies that also don't want to use distro packaged or binary releases is probably quite small.
@kris right, so for using llvm, there was a cryptic comment in the README and i couldn't figure out what i was actually supposed to do, hence using the bootstrap.c
i do not have the latest version in repos but i do have an old zig so i figured i ought to be able to build it. apparently not, hence bootstrap.c.
also sorry, it's codeberg now:
https://codeberg.org/ziglang/zig-bootstrap
From there:
Build Instructions
./build <arch>-<os>-<abi> <mcpu>
This builds llvm from source as part of the build, so is quite time consuming, but it worked for me after some minor pain.
@kris building it fresh? i'm a little light on disk space right now...
It's a beast yeah, future plans is to move away from linking llvm at all.
@kris of course that's going to be x86-64-linux only for the foreseeable
the idea is that you can still output llvm bitcode, and pass it to clang as a process, so it should not be a downgrade in any way