rust-analyzer/crates/project_model/src
Aleksey Kladov add87f5424 Avoid blocking the main loop when editing Cargo.toml
I've noticed a bunch of "main loop too long" warnings in console when
typing in Cargo.toml. Profiling showed that the culprit is `rustc
--print cfg` call.

I moved it to the background project loading phase, where it belongs.
This highlighted a problem: we generally use single `cfg`, while it
really should be per crate.
2021-01-18 14:52:12 +03:00
..
cargo_workspace.rs prepare to publish el libro de arena 2021-01-14 19:06:02 +03:00
cfg_flag.rs Rename ra_project_model -> project_model 2020-08-13 12:05:30 +02:00
lib.rs Avoid blocking the main loop when editing Cargo.toml 2021-01-18 14:52:12 +03:00
project_json.rs More maintainable config 2021-01-06 15:39:28 +03:00
rustc_cfg.rs Avoid blocking the main loop when editing Cargo.toml 2021-01-18 14:52:12 +03:00
sysroot.rs prepare to publish el libro de arena 2021-01-14 19:06:02 +03:00
workspace.rs Avoid blocking the main loop when editing Cargo.toml 2021-01-18 14:52:12 +03:00