diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-11-21 23:36:52 -0800 | 
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-11-26 08:25:27 -0800 | 
| commit | 749ee53c6d23ae1467568d6e0280a4f59e4e952b (patch) | |
| tree | 8ff17ad29a91e3b5d625db08d2d7d9e039ed484a /src/librustpkg/lib.rs | |
| parent | 38efa17bb8b9c1077e7b8cd9d67da08dec3f0bda (diff) | |
| download | rust-749ee53c6d23ae1467568d6e0280a4f59e4e952b.tar.gz rust-749ee53c6d23ae1467568d6e0280a4f59e4e952b.zip  | |
librustc: Make `||` lambdas not infer to `proc`s
Diffstat (limited to 'src/librustpkg/lib.rs')
| -rw-r--r-- | src/librustpkg/lib.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustpkg/lib.rs b/src/librustpkg/lib.rs index f40238364f3..2308f314b14 100644 --- a/src/librustpkg/lib.rs +++ b/src/librustpkg/lib.rs @@ -474,7 +474,7 @@ impl CtxMethods for BuildContext { let psp = package_script_path.clone(); let ws = workspace.clone(); let pid = pkgid.clone(); - prep.exec(|exec| { + prep.exec(proc(exec) { let mut pscript = PkgScript::parse(subsysroot.clone(), psp.clone(), &ws, @@ -636,7 +636,7 @@ impl CtxMethods for BuildContext { let sub_target_ex = target_exec.clone(); let sub_target_lib = target_lib.clone(); let sub_build_inputs = build_inputs.to_owned(); - prep.exec(|exe_thing| { + prep.exec(proc(exe_thing) { let mut outputs = ~[]; // Declare all the *inputs* to the declared input too, as inputs for executable in subex.iter() {  | 
