Pass 'argv'

This commit is contained in:
David Gonzalez Martin 2025-06-12 18:00:18 -06:00
parent 1a9de62e4b
commit ad7a30472a

View File

@ -1432,6 +1432,10 @@ type_is_signed = fn (type: &Type) u1
{
return type_is_signed(type.content.enum.backing_type);
},
.pointer =>
{
return 0;
},
else =>
{
#trap();
@ -11862,6 +11866,7 @@ names: [_][]u8 = [
"function_pointer",
"extern",
"byte_size",
"argv",
];
[export] main = fn [cc(c)] (argument_count: u32, argv: &&u8, envp: &&u8) s32