Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5a12cb8

Browse files
committedNov 17, 2014
Bring back the dylib kind of the link attribute
1 parent 88c743d commit 5a12cb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/librustc/metadata/creader.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ fn visit_item(e: &Env, i: &ast::Item) {
242242
cstore::NativeFramework
243243
} else if k.equiv(&("framework")) {
244244
cstore::NativeFramework
245+
} else if k.equiv(&("dylib")) {
246+
cstore::NativeUnknown
245247
} else {
246248
e.sess.span_err(m.span,
247249
format!("unknown kind: `{}`",

0 commit comments

Comments
 (0)
Please sign in to comment.