Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation failing to build for docs.rs #78

Open
mitchmindtree opened this issue Dec 6, 2020 · 1 comment
Open

Documentation failing to build for docs.rs #78

mitchmindtree opened this issue Dec 6, 2020 · 1 comment
Labels

Comments

@mitchmindtree
Copy link
Member

mitchmindtree commented Dec 6, 2020

Despite specifying the macos target for documentation to build in our Cargo.toml, the build will still fail when building for docs.rs. This is because docs.rs attempts to build for macOS via cross-compilation from Linux. This should be first solved in coreaudio-sys before attempting to fix coreaudio-rs.

Related issues / PRs:

@HEnquist
Copy link
Contributor

I had similar issue with a crate for windows, where I simply worked around the problem by hosting the docs on GitHub pages instead. See https://henquist.github.io/wasapi-rs/
The docs are built from the "docs" branch of the repo.
Would that be an acceptable solution here too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants