let's make a rust wrapper library and a C header for my normal "inner" rust library, so that my C program can take advantage of rust's standard library.
For example, if we have normal rust function:
pub fn kork(zork: u64) -> bool
Then we would generate this Rust wrapper library code:
#[no_mangle] pub extern "C" fn kork_extern(zork: u64) -> bool {