mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
bootstrap: use %% operator instead of cast
This commit is contained in:
parent
4b9e1dd438
commit
e85e7ebcf0
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user