diff --git a/Cargo.toml b/Cargo.toml index 0cdadbe..10f46d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ futures = "0.3" raw-window-handle = "0.6" # ── GPUI core crate (provides Platform trait, event types, geometry, etc.) ─── -gpui = { package = "gpui-pre", version = "=0.3.7", default-features = false } +gpui = { package = "gpui-pre", version = "=0.3.8", default-features = false } # ── iOS ────────────────────────────────────────────────────────────────────── @@ -79,8 +79,14 @@ core-text = "=21.0.0" uuid = { version = "1", features = ["v4", "v5"] } block2 = "0.6" +# libc 0.2.190 dropped the iOS `_dyld_*` symbol declarations that `backtrace` +# calls in `symbolize/gimli/libs_macos.rs`, which breaks `cargo check` for the +# apple-ios targets (E0425: cannot find `_dyld_image_header` in `libc`). Pin to +# the last good release until a fixed libc (>0.2.190) ships. +libc = "=0.2.189" + # wgpu renderer (Metal backend on iOS/Android) -gpui_wgpu = { package = "gpui-pre-wgpu", version = "=0.3.7", features = ["font-kit"] } +gpui_wgpu = { package = "gpui-pre-wgpu", version = "=0.3.8", features = ["font-kit"] } wgpu = "29.0.4" # Text / font stack @@ -111,7 +117,7 @@ android_logger = "0.15" # wgpu renderer (Vulkan backend on Android) # Android uses Cosmic Text and system fonts; font-kit pulls in desktop Fontconfig. -gpui_wgpu = { package = "gpui-pre-wgpu", version = "=0.3.7" } +gpui_wgpu = { package = "gpui-pre-wgpu", version = "=0.3.8" } # rustc-hash is required by the PlatformKeyboardMapper trait signature rustc-hash = "2" @@ -120,7 +126,7 @@ uuid = { version = "1", features = ["v5"] } # ── dev ────────────────────────────────────────────────────────────────────── [dev-dependencies] -gpui = { package = "gpui-pre", version = "=0.3.7", default-features = false, features = ["test-support"] } +gpui = { package = "gpui-pre", version = "=0.3.8", default-features = false, features = ["test-support"] } # ── profiles ───────────────────────────────────────────────────────────────── diff --git a/example/Cargo.toml b/example/Cargo.toml index e2f3de2..61d7319 100644 --- a/example/Cargo.toml +++ b/example/Cargo.toml @@ -16,10 +16,10 @@ path = "src/main.rs" [dependencies] # Pin the mobile facade support without requiring a published crate. -gpui-kit = { git = "https://github.com/longbridge/gpui-kit", rev = "2ec5696c2e975ddd2b8380d12ec00631bd159128", default-features = false, features = ["component"] } +gpui-kit = { git = "https://github.com/longbridge/gpui-kit", rev = "288767cc730ca4977852a7860f52a8465a61876f", default-features = false, features = ["component"] } gpui-mobile = { package = "gpui-pre-mobile", path = "..", version = "0.1.0" } -gpui = { package = "gpui-pre", version = "=0.3.7", default-features = false } -reqwest_client = { package = "gpui-pre-reqwest-client", version = "=0.3.7" } +gpui = { package = "gpui-pre", version = "=0.3.8", default-features = false } +reqwest_client = { package = "gpui-pre-reqwest-client", version = "=0.3.8" } reqwest = { package = "gpui-pre-reqwest", version = "0.12.15", default-features = false, features = ["rustls-tls"] } log = "0.4" diff --git a/src/android/window.rs b/src/android/window.rs index 3b9ee10..efdcee0 100644 --- a/src/android/window.rs +++ b/src/android/window.rs @@ -1633,6 +1633,7 @@ impl PlatformWindow for AndroidPlatformWindow { cb(RequestFrameOptions { require_presentation: false, force_render: text_dirty || surface_new, + ..Default::default() }); }); }