Can Rust code call C code?
Yes. Directly and synchronously, on the C stack. Rust writes arguments to the C stack, then switches stack and performs the call, switching back on return. The Rust domain owning the task that makes the call will block for the duration of the call, so if the call is likely to be long-lasting, you should consider putting the task in its own domain (thread or process).