Commit graph

452 commits

Author SHA1 Message Date
Folkert
959af4dbfb
build wasm test platform when running llvm wasm tests 2022-07-10 14:12:21 +02:00
Folkert
f0adf02d7b
make llvm wasm tests compile (fails at runtime) 2022-07-10 14:11:18 +02:00
Folkert
1ed648554d
rename wasm-cli-run -> gen-llvm-wasm 2022-07-10 14:08:35 +02:00
Brian Carroll
f80ab79c8e
test_gen: remove wasmer-wasi dependency 2022-07-10 14:08:35 +02:00
Brian Carroll
a170caf9a6
test_gen: refactor to tidy things up 2022-07-10 14:08:35 +02:00
Brian Carroll
66a7955475
test_gen: get wasm linking test working with DCE 2022-07-10 14:08:34 +02:00
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
57acbb5f28
clippy 2022-07-10 14:06:28 +02:00
Folkert
cef4dc6b9f
add wasm test mode that influences test wrapper codegen 2022-07-10 14:05:17 +02:00
Folkert
2163147e42
update mono tests 2022-07-10 11:58:32 +02:00
Folkert
76a2496b9e
error earlier on empty lambda set 2022-07-10 11:23:13 +02:00
Richard Feldman
57260d53f9
Allow single-line comments in multiline annotations 2022-07-09 23:06:45 -04:00
Richard Feldman
c8d8b6adb6
Fix wasm gen dev tests 2022-07-09 21:25:18 -04:00
Folkert
90c96b9391
update mono tests 2022-07-10 02:05:20 +02:00
Folkert
c94093ac6a
update mono tests 2022-07-10 01:52:13 +02: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
Folkert
4956fc5ef4
remove transitive builtins 2022-07-10 01:22:30 +02:00
Folkert
3dee90ced8
remove parse::ast::Def 2022-07-10 01:10:37 +02: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
ayazhafiz
d20c183390
Merge remote-tracking branch 'origin/trunk' into rust61 2022-07-09 12:52:49 -04:00
Brendan Hansknecht
93e0439b7f
typo 2022-07-09 09:24:14 -07:00
Brendan Hansknecht
b3fa1d2dc2
Merge remote-tracking branch 'origin/trunk' into roc-exposed-return 2022-07-09 09:18:48 -07:00
Brendan Hansknecht
9248e1853b
correct dropping of return pointer from exposed functions 2022-07-09 09:18:22 -07:00
Folkert
d1f7b0fc5a
wasm: store tag id right after the content 2022-07-09 14:28:41 +02:00
Marten/Qqwy
620d719661
Run the formatter 2022-07-09 14:28:30 +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
Marten/Qqwy
5632d07179
Pure Roc implementation of Result.alterErr 2022-07-09 14:28:29 +02:00
Folkert de Vries
7a2c2f6d1d
Merge pull request #3460 from rtfeldman/i3456
Correctly compile polymorphic recursive tag unions
2022-07-09 12:44:21 +02:00
Richard Feldman
4ae91b2084
Fix STR_RESERVE constant 2022-07-08 20:24:22 -04:00
Richard Feldman
81d2d46077
clippy 2022-07-08 20:18:36 -04:00
Richard Feldman
93f6e1691c
s/ran/run and fix indentation in a macro 2022-07-08 20:17:18 -04:00
Richard Feldman
d56a1edd91
Don't generate docs for top-level expects 2022-07-08 20:17:18 -04:00
Richard Feldman
55931bca9e
Merge pull request #3452 from rtfeldman/can-builtins-cleanup
Can builtins cleanup
2022-07-08 18:54:59 -04:00
Richard Feldman
f45e3dbb46
Fix tests 2022-07-08 18:16:08 -04:00
Richard Feldman
281f2d6842
Use if let over some matches 2022-07-08 18:16:08 -04:00