From f17bd95ad7c4ec76aea4d1ea73b702f61cac84a8 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 21 Apr 2026 22:20:23 -0400 Subject: Liberation from libc --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index d2ba8aa..7517763 100644 --- a/src/main.c +++ b/src/main.c @@ -8,7 +8,9 @@ #include int main(int argc, char **argv) { - pit_runtime *rt = pit_runtime_new(); + i64 sz = 256 * 1024 * 1024; + u8 *buf = malloc((size_t) sz); + pit_runtime *rt = pit_runtime_new(buf, sz); pit_install_library_essential(rt); pit_install_library_io(rt); pit_install_library_plist(rt); -- cgit v1.2.3