mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Support cfg overrides in all workspace kind
This commit is contained in:
parent
ee10f9f5cd
commit
8989dcffd6
4 changed files with 69 additions and 22 deletions
|
@ -75,6 +75,7 @@ fn load_rust_project(file: &str) -> (CrateGraph, ProcMacroPaths) {
|
|||
rustc_cfg: Vec::new(),
|
||||
toolchain: None,
|
||||
target_layout: Err(Arc::from("test has no data layout")),
|
||||
cfg_overrides: Default::default(),
|
||||
};
|
||||
to_crate_graph(project_workspace)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue