Skip to content

Commit 87a94a3

Browse files
committed
---
yaml --- r: 22547 b: refs/heads/master c: b1dafe4 h: refs/heads/master i: 22545: 336dd38 22543: ecd86d0 v: v3
1 parent 9fe12cd commit 87a94a3

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
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: 08a4440d643fb6f7db90f67b40f9f29c6bdf5228
2+
refs/heads/master: b1dafe49afafd4650c4071cf64deaea113072eff
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libcore/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ fn list_dir(p: path) -> ~[~str] {
554554
fn star(p: ~str) -> ~str { p }
555555

556556
#[cfg(windows)]
557-
fn star(p: str) -> ~str {
557+
fn star(p: ~str) -> ~str {
558558
let pl = str::len(p);
559559
if pl == 0u || (p[pl - 1u] as char != path::consts::path_sep
560560
|| p[pl - 1u] as char != path::consts::alt_path_sep) {

trunk/src/rustc/back/rpath.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -314,32 +314,32 @@ mod test {
314314
#[test]
315315
#[cfg(target_os = "linux")]
316316
fn test_rpath_relative() {
317-
let o = session::os_linux;
318-
check not_win32(o);
319-
let res = get_rpath_relative_to_output(o,
317+
let o = session::os_linux;
318+
check not_win32(o);
319+
let res = get_rpath_relative_to_output(o,
320320
~"/usr", ~"bin/rustc", ~"lib/libstd.so");
321-
assert res == ~"$ORIGIN/../lib";
321+
assert res == ~"$ORIGIN/../lib";
322322
}
323323

324324
#[test]
325325
#[cfg(target_os = "freebsd")]
326326
fn test_rpath_relative() {
327-
let o = session::os_freebsd;
328-
check not_win32(o);
329-
let res = get_rpath_relative_to_output(o,
330-
"/usr", "bin/rustc", "lib/libstd.so");
331-
assert res == "$ORIGIN/../lib";
327+
let o = session::os_freebsd;
328+
check not_win32(o);
329+
let res = get_rpath_relative_to_output(o,
330+
~"/usr", ~"bin/rustc", ~"lib/libstd.so");
331+
assert res == ~"$ORIGIN/../lib";
332332
}
333333

334334
#[test]
335335
#[cfg(target_os = "macos")]
336336
fn test_rpath_relative() {
337-
// this is why refinements would be nice
338-
let o = session::os_macos;
339-
check not_win32(o);
340-
let res = get_rpath_relative_to_output(o, "/usr", "bin/rustc",
341-
"lib/libstd.so");
342-
assert res == "@executable_path/../lib";
337+
// this is why refinements would be nice
338+
let o = session::os_macos;
339+
check not_win32(o);
340+
let res = get_rpath_relative_to_output(o, ~"/usr", ~"bin/rustc",
341+
~"lib/libstd.so");
342+
assert res == ~"@executable_path/../lib";
343343
}
344344

345345
#[test]

0 commit comments

Comments
 (0)