-
Notifications
You must be signed in to change notification settings - Fork 123
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
docs.rs build failures #720
Comments
This is a known problem, docs.rs build scripts execute rustdoc in a docker container without network access. I'm planning to detect the |
Huh TIL. |
Reopening because 0.56 failed:
This is also related to #10. |
Is there any plan to fix this? I can't seem to make the docs build in freya because of this issue https://docs.rs/crate/freya/0.1.2/builds/887492 thanks 👌 |
Have you considered asking the docs.rs team to make an exception on rust-skia to allow it to run without the offline mode, so it can download the prebuilt binaries? |
No, from https://docs.rs/about/builds:
Since #10 we are referring to |
Awesome, hopefully it will work 🤞 Any ETA for the next release? No hurries, I just want to be ready 😄 Thank you again Armin! 🙏 |
Hi! it's me again, looks like I found a "working" approach I have mocked all the APIs I use from skia-safe, these mocked APIs will only be enabled when building on docs.rs and skia-safe will be disabled. This way it builds on docs.rs! https://docs.rs/freya/ Thoughts? I know it's ugly but it seems like the best workaround I can do right now Thanks! |
I've tried to patch in the bindings in with the 0.66.0 release, but failed. The current showstopper here is that with @marc2332 I am glad that you found a workaround. |
I appreciate the attemps @pragmatrix 😄, thank you. The workaround seems to be good enough for now ✌️ PS: In case you didn't know, I released Freya last week https://marc0.hashnode.dev/freya , it wouldn't have been possible without you 💪 |
@marc2332 This is awesome, congratulations 🎉 ! And thank you a lot for the credits. |
Thanks for the release! It looks like the lack of |
@tronical You are right, seems like that |
Hi, it looks like the docs.rs build has been failing for all versions starting from 0.18 all the way to latest (0.55): https://docs.rs/crate/skia-safe/latest.
All of them are failing at DNS level for valid URLs:
Not sure if this is a failure of docs.rs builder itself, or in rust-skia, but worth investigation and / or reporting upstream?
The text was updated successfully, but these errors were encountered: