mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
macOS: fix runtime crash on macos26 "type code 'q', but found 'Q'"
Fixes #4299.
This commit is contained in:
committed by
Kirill Chibisov
parent
911fad0af0
commit
cc43ea13d9
@@ -119,7 +119,7 @@ ndk = { version = "0.9.0", default-features = false }
|
|||||||
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
||||||
block2 = "0.5.1"
|
block2 = "0.5.1"
|
||||||
core-foundation = "0.9.3"
|
core-foundation = "0.9.3"
|
||||||
objc2 = "0.5.2"
|
objc2 = { version = "0.5.2", features = ["relax-sign-encoding"] }
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
core-graphics = "0.23.1"
|
core-graphics = "0.23.1"
|
||||||
|
|||||||
@@ -39,3 +39,7 @@ The migration guide could reference other migration examples in the current
|
|||||||
changelog entry.
|
changelog entry.
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- On macOS, fix crash on macOS 26 by using objc2's `relax-sign-encoding` feature.
|
||||||
|
|||||||
Reference in New Issue
Block a user