diff options
| author | LLLL Colonq <llll@colonq> | 2026-04-21 22:20:23 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-04-21 22:20:23 -0400 |
| commit | f17bd95ad7c4ec76aea4d1ea73b702f61cac84a8 (patch) | |
| tree | d2097e8869fad77b8599994c8e34b9317afe6c47 /src/main.c | |
| parent | 4b294e47144da00ae4b9568fed39569d187ce07e (diff) | |
Liberation from libc
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |
