vuru Odin 2026.05 update
Updated vuru from Odin 2026.01 APIs to 2026.05.
Putting this here mostly to remember the new API calls and the current Odin assumptions.
- Replaced
make([]dynamic)with[dynamic; N]inline array declarations. - Updated
os.read_entire_file/os.write_entire_filecall sites to usenilerror checks. - Replaced recursive
os.make_directorylogic withos.make_directory_all. - Replaced
fi.is_dirchecks withfi.type == .Directory. - Updated
os.openusage for(handle, err)return signature. - Removed unused
core:io,core:osimports and the oldparent_dirhelper. - Added
vuru src installsubcommand usinghost_install_pkg.
Follow-up: musl support still needs attention. vuru is written in Odin, and the Odin template is currently maintained in VUP. That is fine for now, but vuru itself is not available for musl yet.
The vuru side should be simple enough to port for musl cross-compilation. The worrying part is Odin. The template needs to become musl-compatible, and if that turns into an upstream blocker it may require PRs into Odin itself.
Reason to do it: musl users should be able to use vuru directly instead of having to use my website to add each category to their repos list manually.