internal: make sure that proc macro machinery doesn't depend on cwd

This commit is contained in:
Aleksey Kladov 2021-07-17 16:54:48 +03:00
parent 9318c643f1
commit 8df38aa797
9 changed files with 52 additions and 22 deletions

View file

@ -312,7 +312,7 @@ impl ProjectWorkspace {
) -> CrateGraph {
let _p = profile::span("ProjectWorkspace::to_crate_graph");
let proc_macro_loader = |path: &AbsPath| match proc_macro_client {
Some(client) => client.by_dylib_path(path.as_ref()), // TODO
Some(client) => client.by_dylib_path(path),
None => Vec::new(),
};