From 5a12cb8e561f2080103acb92b900ddcc3347e7ef Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Mon, 17 Nov 2014 18:00:30 +0100 Subject: [PATCH] Bring back the dylib kind of the link attribute --- src/librustc/metadata/creader.rs | 2 ++ 1 file changed, 2 insertions(+) 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: `{}`",