mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 12:40:14 +03:00
Output debug info on how #[phase] extern crate foo; gets resolved.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user