diff --git a/src/librustc/metadata/creader.rs b/src/librustc/metadata/creader.rs index 1cfe565fd7d..d9e7437216e 100644 --- a/src/librustc/metadata/creader.rs +++ b/src/librustc/metadata/creader.rs @@ -242,6 +242,8 @@ fn visit_item(e: &Env, i: &ast::Item) { cstore::NativeFramework } else if k.equiv(&("framework")) { cstore::NativeFramework + } else if k.equiv(&("dylib")) { + cstore::NativeUnknown } else { e.sess.span_err(m.span, format!("unknown kind: `{}`",