Skip to content

Commit a19ad77

Browse files
committed
---
yaml --- r: 5856 b: refs/heads/master c: 457683c h: refs/heads/master v: v3
1 parent b57fca8 commit a19ad77

File tree

10 files changed

+68
-94
lines changed

10 files changed

+68
-94
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 6323a012bd1417451cd81f00679039d630dc1695
2+
refs/heads/master: 457683c7feef42f07f3044ccfdc8ee7816176ab0

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5762,7 +5762,7 @@ fn register_native_fn(ccx: @crate_ctxt, sp: span, path: [str], name: str,
57625762
let cast_to_i32;
57635763
alt abi {
57645764
ast::native_abi_rust. {
5765-
pass_task = true;
5765+
pass_task = false;
57665766
uses_retptr = false;
57675767
cast_to_i32 = true;
57685768
}

trunk/src/lib/run_program.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ fn program_output(prog: str, args: [str]) ->
114114
{status: int, out: str, err: str} {
115115
let pr = start_program(prog, args);
116116
pr.close_input();
117-
ret {status: pr.finish(),
118-
out: read_all(pr.output()),
119-
err: read_all(pr.err())};
117+
let out = read_all(pr.output());
118+
let err = read_all(pr.err());
119+
ret {status: pr.finish(), out: out, err: err};
120120
}
121121

122122
/* Returns an exit status */

trunk/src/lib/task.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ native "rust" mod rustrt {
3838
fn new_task() -> task_id;
3939
fn drop_task(task: *rust_task);
4040
fn get_task_pointer(id: task_id) -> *rust_task;
41-
fn get_task_trampoline() -> u32;
4241

4342
fn migrate_alloc(alloc: *u8, target: task_id);
4443
fn start_task(id: task_id, closure: *u8);

0 commit comments

Comments
 (0)