feat: Add config to replace specific proc-macros with dummy expanders
This commit is contained in:
@@ -66,7 +66,8 @@ pub fn load_workspace(
|
||||
};
|
||||
|
||||
let crate_graph = ws.to_crate_graph(
|
||||
&mut |path: &AbsPath| load_proc_macro(proc_macro_client.as_ref(), path),
|
||||
&Default::default(),
|
||||
&mut |path: &AbsPath, _| load_proc_macro(proc_macro_client.as_ref(), path, &[]),
|
||||
&mut |path: &AbsPath| {
|
||||
let contents = loader.load_sync(path);
|
||||
let path = vfs::VfsPath::from(path.to_path_buf());
|
||||
|
||||
Reference in New Issue
Block a user