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
The problem is that docs.rs cross-compiles from Ubuntu and does not build on apple-darwin itself:
A big difference from your CI build is that docs.rs is always cross-compiling from linux, you are only able to control the target not the host. So there would need to be a way to get the required header files on the Ubuntu image used for the build.
It looks like we might benefit from solving #38 (which is currently running into the same error reported by docs.rs) and updating our docs-check action to cross-compile from Ubuntu to match the docs.rs approach.
I recently added the following to the
Cargo.toml
in the hope of fixingcoreaudio-sys
on docs.rs:However it appears that, while our CI can successfully build the docs for
x86_64-apple-darwin
, the docs.rs build system cannot. The docs.rs build fails with:Our github docs-check action looks like this:
Perhaps we need to tell docs.rs how to do the "install llvm and clang" step somehow?
I don't have time to dig deeper into this right now, but thought I'd open this in case anyone else has some ideas.
The text was updated successfully, but these errors were encountered: