zlacker

[parent] [thread] 1 comments
1. master+(OP)[view] [source] 2026-02-03 07:47:51
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.
replies(1): >>erk__+X3
2. erk__+X3[view] [source] 2026-02-03 08:17:28
>>master+(OP)
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]