3 ms·
I just got Rust compiling for a linux kernel module. It wasn't too bad, though an inability to read C header files is kinda a pain. And for any target you are
by Tyr42 11y ago
I just got Rust compiling for a linux kernel module.
It wasn't too bad, though an inability to read C header files is kinda a pain. And for any target you are going to want to wrap things up in a "Rusty" api, as dealing with cstrings is kinda a pain.
Still, it'd be a pain to go from C strings to C++ strings, and hook new/delete up to kmalloc/kfree.