多个版本的 gpui crate 在使用 git 依赖时会导致类型不兼容

作者: thalloerupt创建于 2026年7月3日更新于 2026年9月23日

When using `gpui-component` alongside direct `gpui` / `gpui_platform` git dependencies from the Zed repository, Cargo resolves **two different commits** of the `gpui` crate, causing widespread type incompatibility errors.

内容来源: longbridge/gpui-component