Commit graph

932 commits

Author SHA1 Message Date
Brian Carroll
c50925240d
Merge pull request #5921 from roc-lang/wasm-repl-crash
report roc_panic to the user in the web repl
2023-10-25 19:22:10 +01:00
Brendan Hansknecht
0f5b112336
disable list_range_length_overflow for dev wasm 2023-10-23 13:50:36 -07:00
Anton-4
845da6a5c9
clippy 2023-10-23 13:50:35 -07:00
Anton-4
7da37c0e98
rustfmt 2023-10-23 13:50:35 -07:00
Brian Carroll
6e2d7e4a8d
Improve Wasm debug instructions 2023-10-23 13:50:35 -07:00
Brian Carroll
89acb6461a
Ignore ordering of function names in Wasm linking test 2023-10-23 13:50:35 -07:00
Folkert
023f204af2
fix memory reading bug in test 2023-10-23 13:50:34 -07:00
Brian Carroll
a590fafa76
Change a file extension .o -> .wasm to make Zig emit wasm
Zig 0.9 would prioritise the -target but now it seems to prioritise the file extension
2023-10-23 13:50:31 -07:00
Brendan Hansknecht
f8b787c93a
disable test with bad rounding 2023-10-23 13:50:31 -07:00
Folkert
eb61d352f5
changes after review 2023-10-20 18:04:07 +02:00
Folkert
47d4335cda
cleanup test-gen-dev macro code 2023-10-17 20:02:00 +02:00
Isaac Van Doren
886b855594
add Str.contains to builtins 2023-10-14 14:56:51 -05:00
Richard Feldman
6c10a6a8aa
Merge pull request #5893 from mulias/em/list-chunks-of
builtin(list): add List.chunksOf
2023-10-10 09:25:10 -04:00
Folkert
46e8328056
add test that exhausts argument registers 2023-10-09 15:24:41 +02:00
Luke Boswell
99369dec85
implement roc_panic aarch64 2023-10-09 15:24:37 +02:00
Folkert
82b96395e2
fix argument passing for systemv 2023-10-09 15:24:35 +02:00
Folkert
68dc7108bf
enable all gen_result tests for the dev backend 2023-10-09 15:24:32 +02:00
Folkert
052ee0cc5f
more boxing tests 2023-10-09 15:24:32 +02:00
Folkert
3a8d4b853b
an attempt at passing bigger values 2023-10-09 15:24:30 +02:00
Elias Mulhall
c3f0e7d6da Fix type annotations for List.chunksOf tests 2023-10-07 21:42:22 -04:00
Elias Mulhall
b7923ac542 builtin(list): add List.chunksOf 2023-10-07 11:54:34 -04:00
Anton-4
5f878aee93
clippy 2023-09-26 15:08:30 +02:00
Folkert de Vries
3314079819
Merge pull request #5824 from roc-lang/aarch-function-preamble
AArch64 gen_num + gen_records tests
2023-09-18 18:08:00 +02:00
Folkert
f6e4aee10c
make dec checked tests clearer 2023-09-17 16:20:18 +02:00
Brendan Hansknecht
12223191be
update tests 2023-09-16 23:45:16 -07:00
Folkert
821cc0cfd8
env variable for writing out the obj file 2023-09-16 00:51:14 +02:00
Folkert
f30b0bdf68
disable some debugging stuff 2023-09-15 23:10:43 +02:00
Folkert
cfe21a4894
safe generated object file 2023-09-15 23:07:27 +02:00
Folkert
63ff495763
call the main function directly on aarch64? 2023-09-15 23:07:27 +02:00
Folkert
bcfab8d09e
fix relocation size 2023-09-15 23:07:26 +02:00
Folkert
124b533bc0
implement some missing checked operations in the dev backend 2023-09-15 16:08:05 +02:00
Folkert
e850f94d05
a proper fix for llvm wasm checked arithmetic 2023-09-15 14:53:00 +02:00
Folkert
edefbe5b6b
fix wrong alignment used to (re)allocate a list 2023-09-15 00:46:26 +02:00
Folkert
310cc2ae0f
fix alignment 16 bug in roc_list
the rust RocList did not pad the reference count when the alignment is bigger than that of the reference count
2023-09-14 17:30:37 +02:00
Folkert
2ddf0ce180
disable debugging flag 2023-09-14 14:43:29 +02:00
Folkert
5e4f43e1d8
checkpoint 2023-09-14 14:43:24 +02:00
Folkert
3c8dbce72e
fix alignment bug in list literals 2023-09-14 14:39:15 +02:00
Folkert
134bcf8098
wrapped & saturated multiplication 2023-09-14 14:38:32 +02:00
Richard Feldman
85c0eaddcb
Merge pull request #5773 from roc-lang/remaining-dev-backend-lowlevels
Remaining dev backend lowlevels
2023-09-14 08:35:53 -04:00
Folkert
7606998c89
simplify signatures to what they were before 2023-09-14 12:57:33 +02:00
Folkert
4b1836c5d4
enable dev backend panic tests 2023-09-14 11:51:12 +02:00
Folkert
520bac2905
List.sortWith and friends 2023-09-14 11:46:52 +02:00
Folkert
51067f0ae4
add List.map* 2023-09-14 11:46:49 +02:00
Folkert
a34965e05e
fix one more wrong float 2023-09-14 00:21:52 +02:00
Folkert
d7bc03c589
fix segfault where wrong return type was expected 2023-09-13 20:31:43 +02:00
Folkert
3909443ef4
fix two bugs in the dev backend 2023-09-13 20:24:17 +02:00
Folkert
5ca3d3bcf1
make llvm tests work again 2023-09-13 20:24:15 +02:00
Luke Boswell
6ecc72f68e
log location of gen-test object location 2023-09-03 21:32:36 +02:00
Anton-4
0fea1ec227
Merge pull request #5734 from roc-lang/fix-nixos-repl
fix `Couldn't find libgcc_s.so.1!`
2023-08-11 20:03:09 +02:00
Richard Feldman
6c05307a7b
Drop redundant import 2023-08-10 20:36:14 -04:00