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
Send a patch adding it to Parse::add_std_types to get what you want. Alternatively, add the raw forward declaration using one of the other config options?
@emilio Why do we automatically generate opaque types for non repr(C) structs, but have to manually list out the std types we want to consider as opaque?
Also, shouldn't we add an option to force a type to be opaque? I guess that would solve the problem more generally, because then someone could just say they want Mutex to be opaque through cbindgen.toml.
Is it possible for cbindgen to automatically generate an opaque type for
Mutex
for this function?What I got from this is something like without opaque type for
Mutex
:The text was updated successfully, but these errors were encountered: