Initial support for +libc This allows linking Hare programs to C code, as well as enabling use of tools like valgrind that detect default C allocator. Signed-off-by: Alexey Yerin <yyp@disroot.org>
1 files changed, 5 insertions(+), 0 deletions(-) A +libc.ha
A +libc.ha => +libc.ha +5 -0
@@ 0,0 1,5 @@ +use rt; + +@init fn ensure_rt_init() void = { + rt::start_linux(); +};