Change existing OUT_DIR override config to make use of new infrastructure
This commit is contained in:
@@ -53,19 +53,14 @@ pub(crate) fn load_cargo(
|
||||
};
|
||||
|
||||
// FIXME: outdirs?
|
||||
let outdirs = FxHashMap::default();
|
||||
let extern_source_roots = FxHashMap::default();
|
||||
|
||||
let crate_graph = ws.to_crate_graph(
|
||||
&default_cfg_options,
|
||||
&outdirs,
|
||||
&extern_source_roots,
|
||||
&mut |path: &Path| {
|
||||
let crate_graph =
|
||||
ws.to_crate_graph(&default_cfg_options, &extern_source_roots, &mut |path: &Path| {
|
||||
let vfs_file = vfs.load(path);
|
||||
log::debug!("vfs file {:?} -> {:?}", path, vfs_file);
|
||||
vfs_file.map(vfs_file_to_id)
|
||||
},
|
||||
);
|
||||
});
|
||||
log::debug!("crate graph: {:?}", crate_graph);
|
||||
|
||||
let source_roots = roots
|
||||
|
||||
Reference in New Issue
Block a user