compiler: build separation runtime with clite

This commit is contained in:
Li Jie
2025-01-07 22:16:31 +08:00
parent 1172e5bdce
commit 6170973b48
316 changed files with 71331 additions and 178 deletions

View File

@@ -0,0 +1,12 @@
#include <stdlib.h>
#include <errno.h>
int llgoClearenv() {
extern char **environ;
if (environ != NULL) {
*environ = NULL;
}
return 0;
}
int llgoErrno() { return errno; }