Make it possible to compile redbean with chibicc

This cuts build latency down from 5 seconds to 500 milliseconds.
This commit is contained in:
Justine Tunney 2022-04-22 15:03:32 -07:00
parent 552525cbdd
commit 6ff46ca373
50 changed files with 898 additions and 824 deletions

View file

@ -26,7 +26,7 @@ void mbedtls_param_failed(const char *msg, const char *file, int line) {
char *p, *q;
if ((p = q = malloc(128 + strlen(msg) + strlen(file)))) {
p = stpcpy(p, file), *p++ = ':';
p += int64toarray_radix10(line, p);
p = FormatInt32(p, line);
p = stpcpy(p, ": error: ");
p = stpcpy(p, msg);
p = stpcpy(p, "\r\n");