#[repr(C)] struct Foo { x: T, y: U, } type IntFoo = Foo; #[no_mangle] pub extern "C" fn root(a: IntFoo) { }