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

Fix docs.rs build. #107

Closed

Conversation

mutexlox-signal
Copy link
Contributor

docs.rs runs offline, so it cannot clone libcubeb. Therefore, do not exclude it from the package.

docs.rs runs offline, so it cannot clone libcubeb. Therefore, do not
exclude it from the package.
@mutexlox-signal
Copy link
Contributor Author

cc @kinetiknz @padenot

@mutexlox-signal
Copy link
Contributor Author

Alternatively, instead of this, we could just stub out libcubeb for the docs.rs build, since it is not necessary to build it for the documentation.

@mutexlox-signal
Copy link
Contributor Author

As I think about it, I believe that that might be preferable. With the code here, we run the risk of producing a build without the rust backends. But, if we maintain existing behavior and just stub out the C bindings for docs.rs, we ensure that the rust bulids are always there, and also fix the docs.rs build.

@mutexlox-signal mutexlox-signal deleted the mutexlox/docsrs-fix branch November 4, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant