Commit graph

115 commits

Author SHA1 Message Date
Ayaz Hafiz
980c3f1421
Use decimal formatting for float Num.toStr 2022-07-13 12:35:49 -04:00
Ayaz Hafiz
66b8d145a9
Support Num.toStr for dec 2022-07-13 12:13:21 -04:00
Ayaz Hafiz
b7c312d449
Support Num.toStr for f32, f64 2022-07-13 12:13:01 -04:00
Brian Carroll
8533d00f1a
test_gen: place test host .wasm file in Cargo build directory 2022-07-11 20:47:24 +01:00
Folkert
f7d556b0d1
Merge remote-tracking branch 'origin/trunk' into wasm-test-wasm3 2022-07-10 22:46:15 +02:00
Folkert
ca20b8b403
make path to wasm_test_platform.wasm absolute 2022-07-10 22:24:46 +02:00
Ayaz Hafiz
419a29caeb
Turn on working test 2022-07-10 14:03:18 -04:00
Ayaz Hafiz
08c5467856
Enable tests that failed due to now-fixed exhaustiveness checking
Closes #786
2022-07-10 13:58:16 -04:00
Ayaz Hafiz
4ced6faa9a
Enable ignored rosetree compare test 2022-07-10 13:55:04 -04:00
Ayaz Hafiz
25ba744cdd
Unignore most list gen tests 2022-07-10 13:44:35 -04:00
Ayaz Hafiz
032a8a892b
Use correct callconv for Str.toNum 2022-07-10 13:42:38 -04:00
Folkert de Vries
3b60acb938
Merge pull request #3462 from rtfeldman/fix-nested-imports
Fix importing interfaces with nested paths
2022-07-10 18:08:38 +02:00
Folkert
680f026c6b
re-use wasm test code for llvm wasm tests 2022-07-10 15:36:27 +02:00
Folkert
e36f6f0908
codegen an llvm test wrapper similar to the wasm one 2022-07-10 15:08:41 +02:00
Richard Feldman
c45e3ec4b4
Merge remote-tracking branch 'origin/trunk' into fix-nested-imports 2022-07-10 08:52:38 -04:00
Folkert
c961d08b7e
link llvm output with the wasm test platform 2022-07-10 14:25:43 +02:00
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
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