#[no_mangle] pub extern fn double_input(x: i32) -> i32 { 2 * x } #[no_mangle] pub extern fn print_hello() { println!("hello, world, from rust!"); }