youknowone / apple-sys

The auto-managed -sys crate for Apple platforms using bindgen directly from build environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bindgen is creating conflicting implementations of trait `ARKit::UIViewController_` for type `UIViewController`

marcpabst opened this issue · comments

When using apple-sys = { version = "0.2.0", features = ["CoreFoundation", "ARKit"] }, bindgen creates multiple conflicting implementations of trait ARKit::UIViewController_ for type UIViewController (see here: https://gist.github.com/marcpabst/2f1c7ac510daf9389d4df1f8b81e667d). Renaming the traits seems to fix the issue. I guess there is something wrong with how the trait names are generated.