We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rust-call
Test case playpen
fn foo() { println!("foo"); } fn main() { let f: extern "rust-call" fn((), ()); f = unsafe { std::mem::transmute(foo as fn()) }; f((), ()) }