bootstrap: use %% operator instead of cast

This commit is contained in:
Andrew Kelley 2016-01-25 14:13:25 -07:00
parent 4b9e1dd438
commit e85e7ebcf0

View File

@ -29,8 +29,6 @@ fn call_main() unreachable => {
const ptr = argv[i]; const ptr = argv[i];
args[i] = ptr[0...strlen(ptr)]; args[i] = ptr[0...strlen(ptr)];
} }
// TODO: replace the i32 cast with: main(args) %% exit(1);
// main(args) %% exit(1) exit(0);
// exit(0)
exit(i32(main(args)))
} }