Commit graph

87 commits

Author SHA1 Message Date
Folkert
4731cbd391 trying to be even smarter 2021-08-31 22:40:13 +02:00
Folkert
a810c2c27b smarter alignment code 2021-08-31 22:37:32 +02:00
Folkert
fdd34a5d3e zig remove explicit libc dep in 32-bit mode 2021-08-29 00:37:28 +02:00
Folkert
a4475b7544 make TestBase64 compile 2021-08-25 20:47:03 +02:00
Folkert
ca5efdf1d9 fix alignment issue 2021-08-24 20:23:24 +02:00
Folkert
7d874e5c15 fix zig warning 2021-08-23 22:27:00 +02:00
Folkert
9903e14cd3 update zig to compile on nightly 2021-08-23 21:41:13 +02:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Folkert
d8e38ef2ac proof of concept 2021-08-15 13:21:14 +02:00
Folkert
23ea151d5f make decimal math ops correctly report overflow 2021-07-18 22:04:32 +02:00
rvcas
60f017cbd5 chore: utils ignore unused vars 2021-07-02 18:35:51 -04:00
rvcas
954949fbb0 chore: delete unused function 2021-06-06 00:52:44 -04:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Richard Feldman
aa96d2373b Reorder args in decref 2021-05-24 22:06:35 -04:00
Richard Feldman
65542149a3 Fix alloc type sigs in utils.zig 2021-05-24 22:01:14 -04:00
Richard Feldman
0b3715ebee Rearrange arg order for roc_alloc etc 2021-05-24 21:01:12 -04:00
Folkert
799e4a3239 use new roc alloc stuff for List.set 2021-05-24 18:27:27 +02:00
Folkert
91b49ecf98 Merge remote-tracking branch 'origin/roc_alloc' into zig-list-set 2021-05-24 18:25:18 +02:00
Richard Feldman
797bed6d18 Add a comment 2021-05-23 23:46:09 -04:00
Richard Feldman
12c353afaf zig fmt 2021-05-23 23:46:09 -04:00
Richard Feldman
2a68c0c2cd Revert "Add __cxa_throw to utils"
This reverts commit 23f4802b8773043bd0bb32cdf2f235d023a38050.
2021-05-23 23:46:09 -04:00
Richard Feldman
b02ae3794f Add __cxa_throw to utils 2021-05-23 23:46:09 -04:00
Richard Feldman
5efed85d81 Use test allocators for roc_alloc etc in tests 2021-05-23 23:46:09 -04:00
Richard Feldman
64dbf5a777 Have realloc take old_size too
After all, we always know it, and it means host authors don't
necessarily have to store it.
2021-05-23 23:46:09 -04:00
Richard Feldman
ab51582541 Switch builtins to use roc_alloc and friends 2021-05-23 23:46:09 -04:00
Folkert
a4ed13d714 optimize zig code 2021-05-23 15:58:08 +02:00
Folkert
de7b06e411 refactor + clippy 2021-05-16 21:17:34 +02:00
Folkert
b79230c069 refactor reallocate 2021-05-01 23:16:34 +02:00
Folkert
870adb20a8 use decref to deallocate RocStr in zig code 2021-04-14 16:53:36 +02:00
Folkert
73cb826a98 fix calling conventions 2021-04-03 23:26:28 +02:00
Folkert
e78fa99030 working version 2021-04-03 20:35:00 +02:00
Eric Henry
26edc70bca quicksort broken 2021-04-03 12:28:06 -04:00
Folkert
d718e21fd3 add List.range 2021-03-29 23:00:49 +02:00
Folkert
17fddaf0dd refcount details of builtins 2021-02-19 17:13:09 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
56427c5fac List.walk in zig 2021-02-17 17:37:06 +01:00
Folkert
b8b0156c7b factor out utils.zig 2021-02-17 13:56:40 +01:00