-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
When creating a new GPUI app using create-gpui-app and attempting to run it with cargo run, the build fails due to a dependency version conflict in the upstream Zed repository.
Steps to Reproduce
- Install create-gpui-app:
cargo install create-gpui-app - Create a new app:
create-gpui-app --name my-gpui-app - Navigate to the directory:
cd my-gpui-app - Try to run:
cargo run
Error
The build fails with multiple type mismatch errors in zed-font-kit, caused by two different versions of the core-graphics crate being used simultaneously (v0.24.0 and v0.25.0).
error[E0308]: mismatched types
--> .../font-kit.../src/loaders/core_text.rs:326:17
|
326 | CGPathElementType::MoveToPoint => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `core_graphics::path::CGPathElementType`, found `CGPathElementType`
The error occurs because:
core_textdepends oncore-graphicsv0.25.0font-kitdirectly usescore-graphicsv0.24.0
Environment
- OS: macOS (Darwin 24.6.0)
- Cargo: 1.92.0
- create-gpui-app: v0.1.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels