Open igiona opened 13 hours ago
I've noticed the same. Your workaround is correct. I've been talking to cc upstream folks. Will try https://github.com/rust-lang/cc-rs/pull/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.
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. I use rust, so no CMake of my own around.
Okay. Yeah then you'll need to maintain your lock file until we have a fix upstream :-/. Sorry!
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