mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-24 19:40:28 +00:00
Add some more builtins to chibicc
https://justine.lol/cosmopolitan/documentation.html should now contain a lot of functions that had been missing previously due to not having them
This commit is contained in:
parent
ab38f0823d
commit
f1dfa4bdfa
17 changed files with 417 additions and 201 deletions
1
third_party/chibicc/chibicc.c
vendored
1
third_party/chibicc/chibicc.c
vendored
|
@ -685,6 +685,7 @@ static void OnCtrlC(int sig, siginfo_t *si, ucontext_t *ctx) {
|
|||
}
|
||||
|
||||
int chibicc(int argc, char **argv) {
|
||||
ShowCrashReports();
|
||||
atexit(chibicc_cleanup);
|
||||
sigaction(SIGINT, &(struct sigaction){.sa_sigaction = OnCtrlC}, NULL);
|
||||
for (int i = 1; i < argc; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue