From 871608791934f81cdd430797fdd64a8f9da19074 Mon Sep 17 00:00:00 2001 From: Xavier Denis Date: Tue, 10 Nov 2020 21:50:05 +0100 Subject: Add support for loading rustc private crates --- crates/project_model/src/cargo_workspace.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/project_model/src/cargo_workspace.rs') diff --git a/crates/project_model/src/cargo_workspace.rs b/crates/project_model/src/cargo_workspace.rs index d5f6a4025..608a031d4 100644 --- a/crates/project_model/src/cargo_workspace.rs +++ b/crates/project_model/src/cargo_workspace.rs @@ -64,6 +64,9 @@ pub struct CargoConfig { /// rustc target pub target: Option, + + /// rustc private crate source + pub rustc_source: Option, } pub type Package = Idx; -- cgit v1.2.3