#[repr(C)] pub struct Foo { a: T, } pub type Boo = Foo<*mut u8>; #[no_mangle] pub extern "C" fn root( x: Boo, ) { }