-
Notifications
You must be signed in to change notification settings - Fork 625
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
skia-bindings fail to build with the cc/cpp crates #6875
Comments
I've noticed the same. Your workaround is correct. I've been talking to cc upstream folks. Will try rust-lang/cc-rs#1298 and remove the target() call from Skia Rust bindings. |
If you see this in the context of a CMake build: 1.8 is not affected because the C++ release comes with a Cargo.lock file. For 1.9 I'll try to make sure that they lock file also pins cc to a version that compiles for Yocto. |
I'm not sure what you mean here, I'm building against the official 1.8 release. |
Okay. Yeah then you'll need to maintain your lock file until we have a fix upstream :-/. Sorry! |
Adding this to the 1.9 milestone so that we document this as a known issue. Once documented, remove this issue again from the milestone and keep open until new cc-rs and rust-skia is in our dependency tree. |
Bug Description
After updating some dependencies, the cc/cpp crates got bumped as well.
This is now causing my Slint application to fail building the
skia-bindings
crate with a cryptic error.If I pin the cc/cpp crates to the older version the build works again as expected:
Maybe a newer
skia-safe
andskia-bindings
already fixes this issue, but I couldn't try it out because I can't pin these version on my side, it has to be done via the slint packages.Reproducible Code (if applicable)
No response
Environment Details
Product Impact
Blocker
The text was updated successfully, but these errors were encountered: