summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
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 <lcq/pit/library.h>
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);