~sircmpwn/hare-linux

988a076853390d4f1f18b469653e51dfe82a8ecd — Alexey Yerin 2 years ago c7ebfe7
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();
};