to use it in kernel land?is it possible to do it in rust?
it was a joke. but you can look at 1) https://www.redox-os.org/ 2) https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#using-extern-functions-to-call-external-code 3) https://doc.rust-lang.org/nomicon/ffi.html
Yep. Although the toolchaining for it is not stable and for some parts maybe you will have to use no_std at first but it is doable
Обсуждают сегодня