Commit graph

7974 commits

Author SHA1 Message Date
Brendan Hansknecht
577282ced3 have zig allocate all refcounts 2022-04-01 14:06:28 -07:00
Brendan Hansknecht
805e4ef5d3 change refcount type to enum so none can be select 2022-04-01 13:48:14 -07:00
Brendan Hansknecht
ef49d5714b change incref to use the zig builtin 2022-04-01 13:41:46 -07:00
Brendan Hansknecht
56dc503d11 fix formatting 2022-03-31 22:26:18 -07:00
Brendan Hansknecht
a75ecb2883 add variable to enable atomic refcounts for testing 2022-03-31 22:18:25 -07:00
Folkert
426aa13e13
fix merge error 2022-03-31 21:09:55 +02:00
Folkert
2c8d58329c
formatting 2022-03-31 19:42:43 +02:00
Folkert
0dd2cec09a
update with new clippy lints 2022-03-31 19:34:51 +02:00
Folkert
f9f3a255a9
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-31 19:19:36 +02:00
Folkert
61aeaefc76
a start with 32-bit linux support 2022-03-30 23:55:34 +02:00
Folkert
108f2142ba
clippy 2022-03-30 19:23:51 +02:00
Folkert
bd46103f0c
use RocResult for some tests 2022-03-30 19:21:18 +02:00
Folkert
786246f427
when doing a memcpy, don't take alignment into account 2022-03-30 19:20:53 +02:00
Folkert
e94bdb0ed8
use a nullable pointer to store the output of strSplitInPlace 2022-03-30 19:18:29 +02:00
Folkert
5a3be2adf4
give correct stack size without alignment for tags 2022-03-30 19:18:16 +02:00
Folkert
e13ea55004
use roc_load_value to move a value to the stack 2022-03-30 19:16:10 +02:00
Folkert
49f624a27a
use store_roc_value when inserting into dict 2022-03-30 19:15:39 +02:00
Folkert
85bf881b3b
make Dict.keys and Dict.values use list helpers for returning 2022-03-30 19:14:52 +02:00
Folkert
de77748dd5
add additonal tests 2022-03-30 19:08:23 +02:00
Folkert
4426f5793b
rename a function 2022-03-30 19:08:09 +02:00
Folkert
972c5d78d3
use roc_ helpers for box loading and storing 2022-03-30 19:07:55 +02:00
Folkert
59a2253b9a
rework how tags are created 2022-03-30 19:07:40 +02:00
Folkert
3cc96e76dc
preparation for using argument_type_from_layout 2022-03-30 19:07:20 +02:00
Folkert
94b5abf2ce
fix spelling 2022-03-30 17:43:11 +02:00
Folkert
8eff983e53
clippy 2022-03-30 17:37:06 +02:00
Folkert
ddde5694ec
use Normal optlevel in debug builds 2022-03-30 17:35:21 +02:00
Folkert
b9adbf66a0
use RocResult for some tests 2022-03-30 17:34:04 +02:00
Folkert
1b29aa3e43
when doing a memcpy, don't take alignment into account 2022-03-30 17:33:43 +02:00
Folkert
20104a1159
propagate attributes from builtins to call sites 2022-03-30 17:32:48 +02:00
Folkert
d49ee97216
use a nullable pointer to store the output of strSplitInPlace 2022-03-30 17:32:24 +02:00
Folkert
fd209f90ff
fix bug where incorrect stack size is given 2022-03-30 17:25:28 +02:00
Folkert
c73c01aa34
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-30 14:07:17 +02:00
Brendan Hansknecht
0ba29e26a4 add target triple for zig on macos 2022-03-29 18:56:04 -07:00
Brendan Hansknecht
76ffb4f278 Add --no-link flag for more complex linking cases 2022-03-29 18:20:29 -07:00
Folkert
fd527c2b4d
upgrate parking lot to 0.12 2022-03-30 00:14:28 +02:00
Richard Feldman
24b8a68503
Merge pull request #2771 from rtfeldman/cache-stdlib-modules
Cache stdlib modules
2022-03-29 17:30:38 -04:00
SylvanSign
b3c6b5ccc9
fix target str issue with zig and GNU/Linux + ARM 2022-03-27 15:41:02 -04:00
Folkert
14accf4589
clippy 2022-03-27 16:22:46 +02:00
Folkert
13ab2010f0
patch List.countGraphemes and List.isEmpty with the byval() attribute 2022-03-27 16:20:46 +02:00
Folkert
e19cdaf34d
fix merge conflict 2022-03-26 22:08:30 +01:00
Folkert
9dbaa0d157
change type to ensure alignment 2022-03-26 22:04:22 +01:00
Folkert
8325f09de1
Merge remote-tracking branch 'origin/trunk' into cache-stdlib-modules 2022-03-26 21:58:05 +01:00
Folkert
dd84517f5f
revert to older constant string approach 2022-03-26 20:59:18 +01:00
Folkert
9c9a238be5
make subs serialziation cross-compile proof 2022-03-26 20:31:41 +01:00
Folkert
97b64a90a4
hacky fix to make llvm + standard linker work 2022-03-26 19:05:28 +01:00
Folkert
47cb6d9621
clippy 2022-03-26 18:53:21 +01:00
Folkert
79dfd23513
stop zeroing out alloca's 2022-03-26 18:51:54 +01:00
Folkert
75ab8afc2b
remove optimization when values move between pointers, it was unsound (see comment in source) 2022-03-26 18:50:56 +01:00
Folkert
e6ae01384f
fix applied_tag_function_linked_list 2022-03-26 18:40:51 +01:00
Folkert
fed73c1489
fix string hash 2022-03-26 18:31:49 +01:00