Commit graph

228 commits

Author SHA1 Message Date
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
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
Folkert
d1f7b0fc5a
wasm: store tag id right after the content 2022-07-09 14:28:41 +02:00
Richard Feldman
f45e3dbb46
Fix tests 2022-07-08 18:16:08 -04: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
Brian Carroll
b1ea641cfb
wasm: enable more tests 2022-07-07 00:34:42 +01:00
Brian Carroll
a9aee13086
test_gen: support RocResult for Wasm tests 2022-07-06 22:01:03 +01:00
Folkert
6e664b466f
fix merge conflict 2022-07-06 22:35:14 +02:00
Folkert de Vries
b28561d1c9
Merge branch 'trunk' into dylib-roc-benchmarks 2022-07-06 18:39:16 +02:00
Folkert
3017a14599
rename 2022-07-06 14:07:52 +02:00
Folkert
2aabdaa9c8
remove debug print 2022-07-06 00:19:24 +02:00
Folkert
52d339463a
make OptLevel configurable in gen test code gen 2022-07-06 00:19:13 +02:00
Folkert
93db29faf0
add option for debugir LLVM debug info in gen tests 2022-07-05 17:20:10 +02:00
Folkert
0d8fc5f2da
put platform functions (roc_alloc etc) in a module 2022-07-05 17:10:32 +02:00
Folkert
6d7c329698
Str.walkScalars 2022-07-04 18:01:19 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00