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:

committed by
Alexander Medvednikov

parent
d73586743b
commit
751ba48bf5
@@ -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
|
||||
'
|
||||
)
|
||||
|
Reference in New Issue
Block a user