mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Move gpui derives tests into gpui crate to avoid dependency cycles
`cargo run` on Zed project leads to rust-analyzer evantually emitting `[ERROR project_model::workspace] cyclic deps: gpui_macros(Idx::<CrateData>(269)) -> gpui(Idx::<CrateData>(264)), alternative path: gpui(Idx::<CrateData>(264)) -> gpui_macros(Idx::<CrateData>(269))` error after loading the project. The PR fixes this by moving away the test to the "root" project.
This commit is contained in:
parent
facb942156
commit
1c4be24fb7
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -3172,7 +3172,6 @@ dependencies = [
|
||||
name = "gpui_macros"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"gpui",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 1.0.109",
|
||||
|
@ -13,6 +13,3 @@ doctest = false
|
||||
syn = "1.0"
|
||||
quote = "1.0"
|
||||
proc-macro2 = "1.0"
|
||||
|
||||
[dev-dependencies]
|
||||
gpui = { path = "../gpui" }
|
||||
|
Loading…
Reference in New Issue
Block a user