diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-04-25 18:33:07 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-05-18 22:56:26 +0200 |
| commit | a8646be1a8e2025e0bfd18dfcebf968cfcb4645e (patch) | |
| tree | 1114a78a30a3f0fa7ca58e97d88bb7abe08cb4d7 /src/libsyntax | |
| parent | acfc99dddd26a318867d9e1602738619d097ac6f (diff) | |
| download | rust-a8646be1a8e2025e0bfd18dfcebf968cfcb4645e.tar.gz rust-a8646be1a8e2025e0bfd18dfcebf968cfcb4645e.zip | |
Output debug info on how `#[phase] extern crate foo;` gets resolved.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 1898e8bf000..e3b1037ccc0 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -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 |
