-
Notifications
You must be signed in to change notification settings - Fork 191
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
How to compile documentation for https://docs.rs/crate/rust_icu_sys #655
Comments
clang should already be installed in the build environment. I'm not sure what Unicode ICU is, but as long as Ubuntu packages it, you can add it to the environment by making a PR. Bindgen will be a little harder because it's not packaged. Have you considered using bindgen as a library instead of calling the binary? See https://docs.rs/bindgen for docs on how to do that. |
Thanks for the advice. I was looking for recommendations, and this is
exactly what I was looking for.
F
…On Thu, Mar 26, 2020 at 11:18 AM Joshua Nelson ***@***.***> wrote:
clang should already be installed
<https://github.com/rust-lang/crates-build-env/blob/master/packages.txt#L12>
in the build environment. I'm not sure what Unicode ICU is, but as long as
Ubuntu packages it, you can add it to the environment by making a PR
<https://forge.rust-lang.org/docs-rs/add-dependencies.html>. Bindgen will
be a little harder because it's not packaged. Have you considered using
bindgen as a library instead of calling the binary? See
https://docs.rs/bindgen/0.53.2/bindgen/ for docs on how to do that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#655 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB4GMEHVBVBDN6HU5YTXKDRJOL63ANCNFSM4LT23T4A>
.
|
I think I made some progress as advised, closing this issue. If you are curious, feel free to look at: google/rust_icu#41 |
I'm glad I could help! |
Crate name:
rust_icu_sys
Build failure link: https://docs.rs/crate/rust_icu_sys/0.1.1/builds/233436
Additional details:
Hi folks! I'd like to ask for some guidance regarding the crate
rust_icu_sys
that I maintain. docs.rs is not able to compile the crate, since compilation requires some additional libraries and tools, like the Unicode ICU library, as well as clang, bindgen, and others.What would be the best way to bring those dependencies in so that documentation could be built on docs.rs? Thanks!
The text was updated successfully, but these errors were encountered: