Skip to content

Commit 559c2cf

Browse files
author
Jakub Bukaj
committed
rollup merge of #19000: IvanUkhov/doc-link-dylib
Hello, `dylib` [seems][1] to be no longer an option for the `kind` key of the `link` attribute. UPDATE: It should be the other way around: It [seems][1] `dylib` has been lost as a possible variant of the `kind` key of the `link` attribute. See the comment below. Regards, Ivan [1]: https://github.com/rust-lang/rust/blob/8f8753878644b0bfb38d24781edb9ef2028730f2/src/librustc/metadata/creader.rs#L237
2 parents 6309d6e + 5a12cb8 commit 559c2cf

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)