Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Libcore doesn't use the (entire) libc runtime; IIRC, it essentially just needs the memcpy and memset symbols to be defined.


Why not just implement those in Rust too? It seems like you could break the dependency entirely.


Yes, you can, and they are even provided in pure Rust for exactly that reason: http://doc.rust-lang.org/master/rlibc/

(Seems there were 2 more mem* symbols required than I remembered.)


You can implement those in Rust if you want.


Couldn't it use librlibc then?


Yes, that's exactly what librlibc is for and what is used.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: