Brian Carroll
0b0c54d676
test_gen: update wasm linking tests to work withx wasm3 runtime
2022-07-10 14:08:34 +02:00
Brian Carroll
6da71008cb
test_gen: update build script for easier debug
2022-07-10 14:08:34 +02:00
Brian Carroll
e402f1c9d8
test_gen: remove wasmer entirely, and get refcount tests working with wasm3
2022-07-10 14:08:33 +02:00
Brian Carroll
105fe0d456
Handle test cases where roc_panic is dead-code eliminated
2022-07-10 14:08:33 +02:00
Brian Carroll
35dc65440c
test_gen: use include_bytes! instead of std::fs::read for test host
2022-07-10 14:08:32 +02:00
Folkert
378990a003
remove get_roc_panic_msg
2022-07-10 14:08:32 +02:00
Folkert
cc4f88b0e4
find and print the error message on panic
2022-07-10 14:08:31 +02:00
Folkert
3ce8527ec1
use Rc<Mutex<>> to work around lifetime issues
2022-07-10 14:08:31 +02:00
Brian Carroll
eb90af7e0d
try to read the callback after the panic
2022-07-10 14:08:31 +02:00
Brian Carroll
a8dcd38ef3
try to read the panic message in the callback
2022-07-10 14:08:30 +02:00
Folkert
5a176ee93f
link wasi
2022-07-10 14:08:30 +02:00
Folkert
97238c8a56
refactor so we have access to the wasm bytes
2022-07-10 14:08:30 +02:00
Folkert
d7e347dcac
rename FromWasmerMemory -> FromWasm32Memory
2022-07-10 14:08:29 +02:00
Folkert
ffaf56bec2
add wasm3 dependency
2022-07-10 14:08:29 +02:00
Folkert
cef4dc6b9f
add wasm test mode that influences test wrapper codegen
2022-07-10 14:05:17 +02:00
Richard Feldman
c8d8b6adb6
Fix wasm gen dev tests
2022-07-09 21:25:18 -04:00
Richard Feldman
86ee6b0e03
Fix some warnings in gen dev tests
2022-07-09 19:23:36 -04:00
Richard Feldman
081b1d2612
Fix a gen test for dev backend
2022-07-09 19:23:22 -04:00
Ayaz
7b308d9efe
Merge pull request #3404 from rtfeldman/ambient-lset-specialization
...
The ambient lambda set specialization algorithm
2022-07-09 17:23:27 -05:00
Folkert
d1f7b0fc5a
wasm: store tag id right after the content
2022-07-09 14:28:41 +02:00
Marten/Qqwy
906aa5bbb0
Fix implementation and tests for Result.after and Result.afterErr
2022-07-09 14:28:30 +02:00
Marten/Qqwy
699ab5c646
Symbol definition and tests
2022-07-09 14:28:30 +02:00
Richard Feldman
f45e3dbb46
Fix tests
2022-07-08 18:16:08 -04:00
Ayaz Hafiz
532b2ff403
Support specialization of naked tag unions at toplevel
2022-07-08 17:50:52 -04:00
Ayaz Hafiz
507e1e5add
Add gen tests for polymorphic recursive tags
2022-07-08 17:35:14 -04:00
Folkert
24c6b92846
update mono tests
2022-07-08 16:16:42 +02:00
Folkert de Vries
43f9b0d0fa
Merge pull request #3389 from rtfeldman/3378
...
Call recursive function with captures, and consolidate proc calling
2022-07-08 16:14:33 +02:00
Folkert
972d652d5d
Merge remote-tracking branch 'origin/trunk' into list-unsafe-append
2022-07-08 13:57:09 +02:00
Ayaz
856b38a958
Merge pull request #3319 from rtfeldman/remove-old-expect-logic
...
remove old expect logic
2022-07-07 21:21:36 -05:00
Ayaz Hafiz
11b7597a07
Make sure to initialize complete uninit buffer in gen tests
2022-07-07 20:56:51 -04:00
Folkert
98c55ba30c
clean up the list map benchmark
2022-07-07 23:21:38 +02:00
Folkert
56c9787e8f
List.appendUnsafe and List.reserve
2022-07-07 22:40:28 +02:00
Brian Carroll
daec180972
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-last-few-builtins
2022-07-07 20:36:25 +01:00
Brian Carroll
a6faf875f8
wasm: Use Ord::max where possible instead of a custom function
2022-07-07 20:32:32 +01:00
Ayaz
22f02984d3
Merge branch 'trunk' into 3378
2022-07-06 20:37:32 -05:00
Richard Feldman
85d87ab431
Merge pull request #3407 from rtfeldman/dylib-roc-benchmarks
...
Dylib roc benchmarks
2022-07-06 21:19:29 -04:00
Brian Carroll
b1ea641cfb
wasm: enable more tests
2022-07-07 00:34:42 +01:00
Brian Carroll
c9a1600751
wasm: Fix List.map where the mapper has zero-size arguments
2022-07-07 00:05:56 +01:00
Brian Carroll
a9aee13086
test_gen: support RocResult for Wasm tests
2022-07-06 22:01:03 +01:00
Brian Carroll
617e18af98
wasm: enable remaining List tests, except 2 panics
2022-07-06 22:01:02 +01:00
Brian Carroll
f132350ef3
wasm: implement List.sortWith
2022-07-06 22:01:01 +01:00
Brian Carroll
86cb50ed09
test_gen: fix some list tests for 32-bit targets
2022-07-06 21:59:40 +01:00
Brian Carroll
e5e56a7795
wasm: Implement List.prepend
2022-07-06 21:59:37 +01:00
Folkert
6e664b466f
fix merge conflict
2022-07-06 22:35:14 +02:00
Ayaz Hafiz
89e356b5eb
Ambient lambda set unification means we can have nice things again
2022-07-06 13:08:59 -04:00
Ayaz Hafiz
20a9a9765a
Disable wasm test for now
2022-07-06 12:49:03 -04:00
ayazhafiz
efbd1bf4c7
Add unbound runtime error function var gen test
2022-07-06 12:49:02 -04:00
ayazhafiz
937b73b797
Compile lambdas that have an empty lambda set
...
Closes #3224
This should also fix a number of other issues often observed when a
lambda is never actually called, but we fail to codegen because it has
an empty lambda set.
2022-07-06 12:49:01 -04:00
Folkert de Vries
b28561d1c9
Merge branch 'trunk' into dylib-roc-benchmarks
2022-07-06 18:39:16 +02:00
Richard Feldman
c9346b0744
Merge pull request #3418 from rtfeldman/repl-expect
...
repl expect
2022-07-06 09:40:40 -04:00