Replies: 3 comments 1 reply
-
This generated bindings that compiled for me. No guarantee about usability. The things that I noticed that weren't right were the objcpp when it is a c++ api, wrong sysroot, and the arm64-apple-driverkit for aarch64-apple-driverkit. Try this for your build.rs
Good luck. |
Beta Was this translation helpful? Give feedback.
-
I think even if you manage to get the bindings generated, I doubt your custom target spec is gonna work, there are places in (Feel free to tag me if you end up filing an issue in |
Beta Was this translation helpful? Give feedback.
-
Also, I'm not sure of the difference between the Clang targets myself, but are you sure you need |
Beta Was this translation helpful? Give feedback.
-
I wanted to see if I could use PCIDriverKit on a macos system from Rust code - I do know that the headers provided by driverkit are made for C++ with inheritance so I'm not entirely sure how it would work on the rust end. However attempting to use
aarch64-apple-driverkit
(which is supported by clang) in rust with a custom target spec json gives:Is there a better way to do this with pure rust code? I haven't been able to find anything that already exists on this unfortunately.
Beta Was this translation helpful? Give feedback.
All reactions