zlacker

[return to "Zig Libc"]
1. master+Oo2[view] [source] 2026-02-03 07:47:51
>>ingve+(OP)
That just reminds me anyone know whether rust has something similar? Not wanting to start any Rust v. Zig debate. I am just wanting to be even more independant when it comes to some of my Rust projects.
◧◩
2. erk__+Ls2[view] [source] 2026-02-03 08:17:28
>>master+Oo2
There is a couple libc implementations:

- c-ward [0] a libc implementation in Rust

- relibc [1] a libc implementation in Rust mainly for use in the Redox os (but works with linux as well)

- rustix [2] safe bindings to posix apis without using C

[0]: https://github.com/sunfishcode/c-ward

[1]: https://gitlab.redox-os.org/redox-os/relibc/

[2]: https://github.com/bytecodealliance/rustix

[go to top]