All checks were successful
CI / ci (ReleaseFast, ubuntu-latest) (pull_request) Successful in 1m39s
CI / ci (ReleaseSmall, ubuntu-latest) (pull_request) Successful in 1m36s
CI / ci (ReleaseSafe, ubuntu-latest) (pull_request) Successful in 1m45s
CI / ci (Debug, ubuntu-latest) (pull_request) Successful in 2m45s
CI / ci (ReleaseFast, ubuntu-latest) (push) Successful in 1m33s
CI / ci (ReleaseSmall, ubuntu-latest) (push) Successful in 1m31s
CI / ci (ReleaseSafe, ubuntu-latest) (push) Successful in 1m39s
CI / ci (Debug, ubuntu-latest) (push) Successful in 2m38s
8 lines
153 B
Plaintext
8 lines
153 B
Plaintext
[extern] exit = fn [cc(c)] (exit_code: s32) noreturn;
|
|
|
|
[export] main = fn [cc(c)] () s32
|
|
{
|
|
>c_function_pointer = &exit;
|
|
c_function_pointer(0);
|
|
}
|