You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bump objc-rs pin to 0.3 so tvOS/watchOS/visionOS can link #652
Follow-up to #651 (tvOS build support, merged — thanks!).
miniquad currently pins:
objc = { package = "objc-rs", version = "0.2" }
objc-rs 0.2.8 selects its Objective-C runtime with any(target_os = "macos", target_os = "ios"), so on tvOS / watchOS / visionOS it falls through to the GNUstep backend and linking against Apple SDKs fails with:
Undefined symbol: _objc_msg_lookup
That's a GNUstep symbol; Apple's runtime provides _objc_msgSend instead.
The predicate was widened to target_vendor = "apple" in raphamorim/objc-rs#3, but that merged on the 0.3.x line. Published versions are 0.2.8, 0.3.0, 0.3.1, so the "0.2" pin resolves to 0.2.8 and still has the old cfg. The result is that #651 makes miniquad compile for tvOS but a downstream app still can't link.
Two ways to close the gap:
Bump this pin to 0.3 — I'm happy to open a PR if you're open to it. I don't yet know how much of the 0.2 → 0.3 API surface miniquad touches; I'd check and report before proposing anything.
Either resolves it; I filed both so you and raphamorim can pick whichever you'd rather. Happy to do the legwork on whichever path you prefer.
Verified locally: with the cfg widened, aarch64-apple-tvos and aarch64-apple-tvos-sim both build and link, and a macroquad-based game runs on the tvOS Simulator.
Activity