-
Notifications
You must be signed in to change notification settings - Fork 203
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
Yoga 0.4.0 build failing (unable to read binding.rs from OUT_DIR) #2017
Comments
Sorry for the delay. This is indeed a confusing error. you are doing cc @Nemo157 @jyn514 have to seen behaviour like this in the past? |
Running the build in a local sandbox results in
That seems to be related to a missing C++ standard library 🤔. Note, this doesn't actually check that Trying with |
Excellent detective work!
Indeed. The Alas that |
Yes, once the build image is updated and deployed we can queue a new build. |
The upstream cargo issue has been fixed and should be in the latest nightly, so I've queued a new build that I expect to fail with the correct error message just to confirm. |
New build is here: https://docs.rs/crate/yoga/0.4.0/builds/746419. I can confirm that the build is now failing with the correct error message. |
@nicoburns thanks for the update! This means you can now continue debugging the issue? Or do you need more input / help? |
@syphar I actually know what the issue is:
If you have idea how to resolve that then help would be appreciated! But it's a bit of a tricky one. |
From what (little) I know about the ecosystem, otherways include:
see also https://docs.rs/about/builds |
@nicoburns did you get any further with this issue? In my mind, conditional compilation or vendoring is probably the best bet, alternatively finding our why / when |
Crate name
yoga
Build failure link
https://docs.rs/crate/yoga/0.4.0/builds/705324
Additional details
The error is:
So it seems that it is unable to find the
bindings.rs
file in theOUT_DIR
(which should be generated by bindgen in thebuild.rs
), but there is not indication that the generation failed. I am unable to reproduce this locally either by runningcargo doc
in a cloned version of the yoga-rs repo or by adding the published version of the crate as a dependency and runningcargo doc
(both work fine).Any ideas? It looks like it ought to work fine to me.
The text was updated successfully, but these errors were encountered: