marler8997 / ziglibc

195 stars 20 forks source link

Update project for latest zig version 0.12.0-dev.2922+774487038 #20

Closed ThanosYeah closed 2 weeks ago

ThanosYeah commented 8 months ago

This is the repo that uses code compatible with latest zig. Note it isn't perfect as it may be missing one or two functions or may not work as intended(fopen with its flags for example) and also uses different file structure for include files, prefering the private folder to be inside inc/. also has install.sh script that installs headers to desired location based on variable LOCATION and reduces step for building busybox or ncurses. I hope it helps!

ThanosYeah commented 2 weeks ago

Zig has updated so much by now, which has made zig 0.12.0 a bit irrelevant.