Commit graph

19 commits

Author SHA1 Message Date
Folkert
1ceed06f2b
dealloc is wrong for static strings 2022-07-07 03:26:42 +02:00
Folkert
4bd5df4e0d
fix memory leak in c platform 2022-07-07 00:07:45 +02:00
Jan Van Bruggen
a9d9acb2b8 Separate hello-world platform switching into its own example 2022-06-27 00:06:33 -06:00
Jan Van Bruggen
a2f2434d71 Rename hello-world to hello-c 2022-03-07 19:59:30 -07:00
Folkert
c925613cdc swap argument order 2021-11-26 23:16:47 +01:00
Brendan Hansknecht
7d1b88b3fb Merge branch 'trunk' into integrate-linker 2021-09-23 21:12:40 -07:00
Folkert de Vries
693869336d
Merge branch 'trunk' into direct-return-known-types 2021-09-21 23:01:09 +02:00
Brendan Hansknecht
d710e78ab3
Merge branch 'trunk' into integrate-linker 2021-09-21 09:39:47 -07:00
Folkert
e319d1e758 make roc main return values, instead of write them into pointer 2021-09-19 22:05:48 +02:00
Folkert
c5eeaab2c2 remove callresult from cli examples 2021-09-19 18:34:42 +02:00
Brendan Hansknecht
da28b669bb Get zig host working 2021-09-15 11:45:44 -07:00
Folkert
a12e18ca70 add roc_panic to all hosts 2021-08-16 22:46:00 +02:00
Richard Feldman
66bdb210ed Have Hello World write to a fd
This is a much nicer host to read than the one that does
all the gymnastics to convert to a null-terminated string
just to call printf!
2021-06-21 19:05:12 -04:00
Richard Feldman
2fc3305423 Have hello-world example use C 2021-06-13 10:49:18 -04:00
Folkert
b434bef1d3 use a zig platform for hello-world 2021-01-31 16:33:08 +01:00
Brendan Hansknecht
77b26c3193 Add RocStr and convert HelloWord example to use it 2020-10-12 16:51:09 -07:00
Richard Feldman
856c01f706 Update hello-world platform 2020-10-04 16:35:26 -04:00
Richard Feldman
a108544fa8 Move host.c into platform/host/src 2020-10-04 16:34:08 -04:00
Richard Feldman
740a2f0f77 wip 2020-10-04 15:58:13 -04:00