macOS: fix runtime crash on macos26 "type code 'q', but found 'Q'"

Fixes #4299.
This commit is contained in:
Robert Wallis authored and Kirill Chibisov committed 2025-07-27 21:59:42 +09:00
1 parent 911fad0af0
commit cc43ea13d9
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ ndk = { version = "0.9.0", default-features = false }
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
block2 = "0.5.1"
core-foundation = "0.9.3"
objc2 = "0.5.2"
objc2 = { version = "0.5.2", features = ["relax-sign-encoding"] }
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.23.1"
+4
View File
@@ -39,3 +39,7 @@ The migration guide could reference other migration examples in the current
changelog entry.
## Unreleased
### Fixed
- On macOS, fix crash on macOS 26 by using objc2's `relax-sign-encoding` feature.