Replies: 2 comments 9 replies
-
|
At present, not that I can think of. Out of interest - what package is it that you are compiling, and how much detail of the underlying platform do you need? Is it just In particular, do you actually need to know the underlying platform, or just that it is "different"? If there's a need to be able to identify the underlying platform, it might make sense to preserve the "original" |
Beta Was this translation helpful? Give feedback.
-
|
In all fairness, that script was never meant to be iOS compatible, as it is only a build dependency and therefore only really needs to know about the platform it's being run on. But yeah, it's hard to cast blame here. It's not really I guess the most elegant solution (besides the changes you hinted at For now, I will probably build my own Skia binaries through CI instead of building them through skia-safe. Just that building Skia (like anything Google) is a bit of a pain... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I just saw the excellent work by @freakboy3742 making it possible to run iOS builds using
cibuildwheelandmaturin. I'm currently usingmaturinand some shell scripts to build iOS wheels, but being able to build all platforms throughcibuildwheelwould be very nice.However, I'm running into a problem where a specific Rust dependency does support building for iOS, but still expects Python (used as a build dependency) to report the host platform. i.e., the Rust crate invokes the build system of a third-party library (in my case,
skia), which runs build tasks on the host and is confused when Python reportssys.platform == "ios".Is there a way to deal with this?
Beta Was this translation helpful? Give feedback.
All reactions