Skip to content

Commit 5ac1699

Browse files
committed
---
yaml --- r: 12953 b: refs/heads/master c: c90a047 h: refs/heads/master i: 12951: 9d2f966 v: v3
1 parent 3f07309 commit 5ac1699

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 5b4ab9301742b210bc519ddf9a29cdb18f412e0d
2+
refs/heads/master: c90a04701602353f410aad7073abffe758a01586
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustc/metadata/loader.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,8 @@ fn find_library_crate(sess: session::session, span: span,
4040
let metas = metas;
4141

4242
let nn = default_native_lib_naming(sess, sess.opts.static);
43-
let x =
44-
find_library_crate_aux(sess, span, nn,
45-
metas, hash, sess.filesearch);
46-
if x != none || sess.opts.static { ret x; }
47-
let nn2 = default_native_lib_naming(sess, true);
48-
ret find_library_crate_aux(sess, span, nn2, metas, hash,
49-
sess.filesearch);
43+
find_library_crate_aux(sess, span, nn,
44+
metas, hash, sess.filesearch)
5045
}
5146

5247
fn default_native_lib_naming(sess: session::session, static: bool) ->

0 commit comments

Comments
 (0)