Skip to content

Commit c72c53e

Browse files
committed
---
yaml --- r: 107573 b: refs/heads/dist-snap c: 6ccc1e8 h: refs/heads/master i: 107571: 5511946 v: v3
1 parent a751530 commit c72c53e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 76967a008be228e96a48c92effabebcbab2ea881
9+
refs/heads/dist-snap: 6ccc1e88b7bdfde84df408eb559197ba786dbb22
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/librustpkg/path_util.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,21 +261,21 @@ fn library_in(short_name: &str, version: &Version, dir_to_search: &Path) -> Opti
261261
Some(i) => {
262262
debug!("Maybe {} is a version", f_name.slice(i + 1, f_name.len()));
263263
match try_parsing_version(f_name.slice(i + 1, f_name.len())) {
264-
Some(ref found_vers) if version == found_vers => {
265-
match f_name.slice(0, i).rfind('-') {
266-
Some(j) => {
264+
Some(ref found_vers) if version == found_vers => {
265+
match f_name.slice(0, i).rfind('-') {
266+
Some(j) => {
267267
let lib_prefix = match p_path.extension_str() {
268268
Some(ref s) if dll_filetype == *s => &dll_prefix,
269269
_ => &rlib_prefix,
270270
};
271271
debug!("Maybe {} equals {}", f_name.slice(0, j), *lib_prefix);
272272
if f_name.slice(0, j) == *lib_prefix {
273-
result_filename = Some(p_path.clone());
274-
}
275-
break;
276-
}
277-
None => break
278-
}
273+
result_filename = Some(p_path.clone());
274+
}
275+
break;
276+
}
277+
None => break
278+
}
279279

280280
}
281281
_ => { f_name = f_name.slice(0, i); }

0 commit comments

Comments
 (0)