You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pubconstSIZE:usize = 4;#[repr(C)]pubstructWithoutAs{items:[char;SIZE],}#[repr(C)]pubstructWithAs{items:[char;SIZEasusize],}// dummy function to make `WithoutAs` and `WithAs` part of the public api#[no_mangle]pubexternfnsome_fn(a:WithoutAs,b:WithAs){}
But I would expect it to give or at least warn the user instead of just making the type opaque without any information as to why or even letter the user know the type is treated as opaque.
With the following input:
cbindgen outputs
But I would expect it to give or at least warn the user instead of just making the type opaque without any information as to why or even letter the user know the type is treated as opaque.
The text was updated successfully, but these errors were encountered: