Tom Dohrmann
|
788c8a6af2
|
reimplement RocList and RocStr
|
2022-02-23 16:02:13 +01:00 |
|
Brian Carroll
|
e8571de1ae
|
Merge pull request #2517 from rtfeldman/repl-www
Web REPL initial version
|
2022-02-21 13:58:23 +00:00 |
|
Brian Carroll
|
603c98d1d9
|
wasm tests: use wasmer .unwrap_i32
|
2022-02-20 09:05:08 +00:00 |
|
Folkert
|
5582644166
|
use str/list helpers to prepare for adding capacity
|
2022-02-18 22:23:05 +01:00 |
|
Folkert
|
04adbe75ca
|
fix test compilation
|
2022-02-14 21:09:51 +01:00 |
|
Brian Carroll
|
cff762afe5
|
Fix test_gen llvm
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
c21b2bd0da
|
Formatting and Clippy
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
85b418ebdf
|
wasm: get rid of Result from gen_wasm, rename a function, improve comments
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
2fd2a85887
|
wasm: delete redundant enum TestType
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
c5ccc99e20
|
repl: rename Wasm32TestResult -> Wasm32Result
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
1783fa8009
|
repl: rename FromWasm32Memory -> FromWasmerMemory
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
e9871947d3
|
repl: move wasm32_test_result to gen_wasm, and extract Wasm32Sized from FromWasm32Memory
|
2022-02-08 11:03:48 +00:00 |
|
Brian Carroll
|
aaa5fa04cd
|
wasm: delete obsolete code
|
2022-02-08 11:03:48 +00:00 |
|
Richard Feldman
|
9b05d8dd50
|
Move expect zig code out of utils
|
2022-02-02 19:15:47 -05:00 |
|
Richard Feldman
|
f8eec65229
|
Drop an obsolete todo
|
2022-02-01 20:43:43 -05:00 |
|
Richard Feldman
|
65244d6383
|
Fix unclosed brace
|
2022-02-01 08:43:47 -05:00 |
|
Richard Feldman
|
a55ff62e6c
|
Merge remote-tracking branch 'origin/trunk' into expect-dont-panic
|
2022-01-30 20:22:26 -05:00 |
|
Chelsea Troy
|
4f8d0776b3
|
We got a test working for panicking with the appropriate number fo failures. Ultimatly we want:
+ An error maessage that says what the failures were
+ Not panicking (so these are effectively error productions)
|
2022-01-30 18:55:09 -06:00 |
|
Folkert
|
b9c318e9fb
|
update the tests
|
2022-01-26 15:59:21 +01:00 |
|
Folkert
|
74932a4cab
|
phase 2
|
2022-01-26 14:30:37 +01:00 |
|
Folkert
|
9ee7198e45
|
and another
|
2022-01-25 15:23:53 +01:00 |
|
Folkert
|
3137e14a85
|
another test fix
|
2022-01-25 13:37:30 +01:00 |
|
Folkert
|
b72ad31a89
|
fix more tests
|
2022-01-25 12:05:13 +01:00 |
|
Chelsea Troy
|
085c02ffee
|
Infrastructure to test and implement the replacement of an 'expect' failure with an error production
Last command run was 'cargo test expect_fail'
|
2022-01-16 22:01:22 -06:00 |
|
Brian Carroll
|
f4650654ca
|
Wasm: cosmetic changes to fake WASI functions
|
2022-01-15 15:35:42 +00:00 |
|
Brian Carroll
|
c7da7ca689
|
Wasm: Parse the Name section, export init_refcount_test, and don't DCE exports
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
3d00217b53
|
Wasm: rename build_module_help -> build_module_without_test_wrapper
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
ca2597973e
|
Wasm: store function_count on the ImportSection
|
2022-01-14 18:20:52 +00:00 |
|
Brian Carroll
|
7f5b8c7296
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-pre-linking
|
2022-01-14 18:20:24 +00:00 |
|
ayazhafiz
|
72ee2d6327
|
Mark pretty_print_ir_symbols public
|
2022-01-13 16:35:09 -05:00 |
|
hafiz
|
5f216122d6
|
Update dev.rs
|
2022-01-13 16:33:26 -05:00 |
|
Brian Carroll
|
535927a85e
|
Wasm: fix test_wrapper function index
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
b46124234f
|
Wasm: Add mock functions to HTML debugger for the full set of WASI imports
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
4f15fb3967
|
Wasm: Adjust funciton index for test_wrapper export declaration
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
9f0e0d5099
|
Wasm: create a hashmap of exported functions
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
9c0abcd0da
|
Wasm: Preload WasmModule from object file bytes
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
fd79613f0d
|
Wasm: load platform object file in tests and pass the bytes to the backend
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
5d5e0eca96
|
Wasm: Convert remaining sections to store bytes, and add .size() methods
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
56316da870
|
Wasm: skip linking step in tests
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
5a39002e8b
|
Wasm: Serialize WasmModule without linking info
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
d88b86e884
|
Wasm: change TypeSection tests to unit tests rather than integration tests
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
5de9581b62
|
Wasm: pre-link app-independent code before running tests (builtins, plaform & libc)
|
2022-01-13 05:41:52 +00:00 |
|
Brian Carroll
|
54f2855349
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-module-refactor
|
2022-01-11 21:51:03 +00:00 |
|
Folkert de Vries
|
c16506fc8d
|
Merge pull request #2315 from rtfeldman/wasm-refcount-union
Wasm: refcount for tag unions
|
2022-01-11 22:33:52 +01:00 |
|
Brian Carroll
|
fc677e8d58
|
Wasm: add preloading logic for Types section
|
2022-01-10 10:26:43 +00:00 |
|
Brian Carroll
|
738434329e
|
Wasm: refactor the model of the Linking section
|
2022-01-10 10:26:42 +00:00 |
|
Brian Carroll
|
8cf82ae1b3
|
Wasm: Delete old output files before compiling new ones
|
2022-01-10 10:26:42 +00:00 |
|
Brian Carroll
|
71a5013ed4
|
Add an HTML file for debugging wasm
|
2022-01-06 10:49:58 +00:00 |
|
Brian Carroll
|
854106972c
|
Nicer assertions in C test platform
|
2022-01-06 10:49:34 +00:00 |
|
Brian Carroll
|
e0d0e1884d
|
Check number of allocations in refcount tests
|
2022-01-05 12:24:04 +00:00 |
|