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

I would expect so. Rust and Cargo don't consume C header files directly at all. They consume bindings generated by bindgen (or hand written if you prefer). So you could probably generate mulitple bindings if you needed multiple interpretations of a C header.

If the header files are consumed by C code that is then consumed by Rust then you'll have full support for what C supports because it will be compiled by a C compiler.



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

Search: