rust-analyzer/crates/project-model
Wilfred Hughes 8f6a1e5ee5 internal: Treat cfg fetching failures as a warning
If the user doesn't have rustc on $PATH, rust-analyzer won't be able
to run `rustc --print cfg`. This isn't really an error, as
rust-analyzer can still proceed without it.

This is particularly noticeable when loading crates defined in a
rust-project.json. Until the configuration is loaded, the opened files
are briefly treated as detached files and users see this error.

Environments with rust-project.json generally have a sysroot and rustc
elsewhere, so the error confuses users.
2025-01-21 11:07:07 -08:00
..
src internal: Treat cfg fetching failures as a warning 2025-01-21 11:07:07 -08:00
test_data Fix tests 2025-01-01 16:42:29 +01:00
Cargo.toml internal: Split serde derive feature into serde_derive usage 2024-12-20 11:55:02 +01:00