Output debug info on how #[phase] extern crate foo; gets resolved.
This commit is contained in:
parent
acfc99dddd
commit
a8646be1a8
1 changed files with 3 additions and 0 deletions
|
|
@ -524,6 +524,9 @@ fn load_extern_macros(krate: &ast::ViewItem, fld: &mut MacroExpander) {
|
|||
None => return
|
||||
};
|
||||
|
||||
debug!("load_extern_macros: mapped crate {} to path {} and registrar {:s}",
|
||||
crate_name, path.display(), registrar);
|
||||
|
||||
let lib = match DynamicLibrary::open(Some(&path)) {
|
||||
Ok(lib) => lib,
|
||||
// this is fatal: there are almost certainly macros we need
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue