diff --git a/src/librustc/metadata/creader.rs b/src/librustc/metadata/creader.rs index dbf0e405408..718daf218b4 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: `{}`",