1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

freestanding improvements (exit, function checks)

Fixed exit for freestanding (as assert now uses it).
Running each function check now in a forked process so they can be killed or return other exit codes (and so each function runs, even if others crash)
This commit is contained in:
bogen85
2019-12-07 13:25:19 -06:00
committed by Alexander Medvednikov
parent d73586743b
commit 751ba48bf5
8 changed files with 127 additions and 85 deletions

View File

@@ -218,5 +218,10 @@ bare_c_headers = '
#undef TCCSKIP
#define TCCSKIP(x)
#endif
#ifndef exit
#define exit(rc) sys_exit(rc)
void sys_exit (int);
#endif
'
)