jit: Change expected main signature

This commit is contained in:
Zack Corr 2012-09-28 19:46:40 +10:00
parent b3f418c10e
commit 00b2086374
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ mod jit {
code: entry,
env: ptr::null()
};
let func: fn(~[~str]) = cast::transmute(move closure);
let func: fn(++argv: ~[~str]) = cast::transmute(move closure);
func(~[sess.opts.binary]);
}