jit: Change expected main signature
This commit is contained in:
parent
b3f418c10e
commit
00b2086374
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user