Skip to content

Commit a8646be

Browse files
committed
Output debug info on how #[phase] extern crate foo; gets resolved.
1 parent acfc99d commit a8646be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,9 @@ fn load_extern_macros(krate: &ast::ViewItem, fld: &mut MacroExpander) {
524524
None => return
525525
};
526526

527+
debug!("load_extern_macros: mapped crate {} to path {} and registrar {:s}",
528+
crate_name, path.display(), registrar);
529+
527530
let lib = match DynamicLibrary::open(Some(&path)) {
528531
Ok(lib) => lib,
529532
// this is fatal: there are almost certainly macros we need

0 commit comments

Comments
 (0)