mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-03 00:57:25 +00:00
Allow automatically detect the rustc-src directory (fixes #3517).
If the configured rustcSource is set to "discover", try to automatically detect a source from the sysroot rustc directory.
This commit is contained in:
parent
2967e783ac
commit
4a6e602c94
7 changed files with 67 additions and 20 deletions
|
@ -21,8 +21,8 @@ use rustc_hash::FxHashSet;
|
|||
pub use crate::{
|
||||
build_data::{BuildDataCollector, BuildDataResult},
|
||||
cargo_workspace::{
|
||||
CargoConfig, CargoWorkspace, Package, PackageData, PackageDependency, Target, TargetData,
|
||||
TargetKind,
|
||||
CargoConfig, CargoWorkspace, Package, PackageData, PackageDependency, RustcSource, Target,
|
||||
TargetData, TargetKind,
|
||||
},
|
||||
project_json::{ProjectJson, ProjectJsonData},
|
||||
sysroot::Sysroot,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue