bootstrap: use %% operator instead of cast
This commit is contained in:
@@ -29,8 +29,6 @@ fn call_main() unreachable => {
|
||||
const ptr = argv[i];
|
||||
args[i] = ptr[0...strlen(ptr)];
|
||||
}
|
||||
// TODO: replace the i32 cast with:
|
||||
// main(args) %% exit(1)
|
||||
// exit(0)
|
||||
exit(i32(main(args)))
|
||||
main(args) %% exit(1);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user