Add profiling spans under cargo_to_crate_graph
This commit is contained in:
@@ -77,6 +77,7 @@ impl ProcMacroClient {
|
||||
}
|
||||
|
||||
pub fn by_dylib_path(&self, dylib_path: &Path) -> Vec<ProcMacro> {
|
||||
let _p = profile::span("ProcMacroClient::by_dylib_path");
|
||||
match version::read_dylib_info(dylib_path) {
|
||||
Ok(info) => {
|
||||
if info.version.0 < 1 || info.version.1 < 47 {
|
||||
|
||||
Reference in New Issue
Block a user