Skip to content

Commit d0b704e

Browse files
committed
---
yaml --- r: 13183 b: refs/heads/master c: 7335b2a h: refs/heads/master i: 13181: 09af3a0 13179: 11730d6 13175: 0c2ee15 13167: 0a9e5b9 13151: 121a234 13119: 0d6dbec 13055: bb1c77a v: v3
1 parent 28befac commit d0b704e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
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: 8f7364b26d22f945f1e013041730caaedc640a80
2+
refs/heads/master: 7335b2a51c0b7f7ada6227134bd2b86c08b66813
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/compiletest/procsrv.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ fn target_env(lib_path: str, prog: str) -> [(str,str)] {
99

1010
let mut env = os::env();
1111

12+
// Make sure we include the aux directory in the path
13+
assert prog.ends_with(".exe");
14+
let aux_path = prog.slice(0u, prog.len() - 4u) + ".libaux";
15+
1216
env = vec::map(env) {|pair|
1317
let (k,v) = pair;
14-
if k == "PATH" { ("PATH", v + ";" + lib_path) }
18+
if k == "PATH" { ("PATH", v + ";" + lib_path + ";" + aux_path) }
1519
else { (k,v) }
1620
};
1721
if str::ends_with(prog, "rustc.exe") {

0 commit comments

Comments
 (0)