Support cfg overrides in all workspace kind

This commit is contained in:
Lukas Wirth 2024-04-19 10:59:32 +02:00
parent ee10f9f5cd
commit 8989dcffd6
4 changed files with 69 additions and 22 deletions

View file

@ -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)
}