Brian Carroll
|
b40a73ddcb
|
Clippy
|
2022-06-18 07:27:44 +01:00 |
|
Brian Carroll
|
f1cadbcc05
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-linking-test-improvements
|
2022-06-17 23:20:05 +01:00 |
|
Brian Carroll
|
40f2baa373
|
wasm: remove duplicate code in tests, for .wasm file dump
|
2022-06-17 22:04:59 +01:00 |
|
Brian Carroll
|
c287bc5294
|
wasm: refactor linking test and save Wasm bytes to disk on error
|
2022-06-17 07:52:51 +01:00 |
|
Brian Carroll
|
2828aeeb6c
|
wasm: choose a more debuggable calculation for the linking test app
|
2022-06-16 00:21:11 +01:00 |
|
Brian Carroll
|
0fef1e1576
|
Create to_exposed_symbol_string helper function for all backends
|
2022-06-15 22:30:10 +01:00 |
|
Brian Carroll
|
6e30811b0c
|
wasm: use a BitVec for called host functions
|
2022-06-15 21:31:10 +01:00 |
|
Brian Carroll
|
52f209b2f9
|
wasm: in linking test, compare wasm result to native result
|
2022-06-15 21:16:00 +01:00 |
|
Brian Carroll
|
01a0c1775e
|
wasm: add a zig file to calculate expected test result
|
2022-06-15 20:20:55 +01:00 |
|
Brian Carroll
|
c1aa9f229a
|
wasm: move linking tests to test_gen and execute the module
|
2022-06-15 20:20:55 +01:00 |
|
Folkert de Vries
|
47f613d4c3
|
Merge pull request #3219 from rtfeldman/wasm-dce-imports
Wasm dead code elimination for JS imports
|
2022-06-15 17:53:18 +02:00 |
|
Ayaz Hafiz
|
c8a8ebd628
|
Turn on basis test case
|
2022-06-13 09:12:58 -04:00 |
|
Ayaz Hafiz
|
749f9b0fc5
|
Add a basis test case
|
2022-06-13 08:42:12 -04:00 |
|
Brian Carroll
|
8493c8cfca
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-dce-imports
|
2022-06-13 08:41:41 +01:00 |
|
Brian Carroll
|
f6f7672e1c
|
wasm: rename DEBUG_LOG_SETTINGS->DEBUG_SETTINGS and add skip_dead_code_elim
|
2022-06-12 20:45:43 +01:00 |
|
Brian Carroll
|
6d39f50bcc
|
wasm: use linking data to implement call graph tracing for DCE
|
2022-06-12 20:42:09 +01:00 |
|
Richard Feldman
|
720d82598d
|
Merge remote-tracking branch 'origin/trunk' into cstr
|
2022-06-10 18:51:42 -04:00 |
|
Richard Feldman
|
f45d1281f7
|
Merge pull request #3137 from rtfeldman/expect-report
Expect report
|
2022-06-08 10:13:35 -04:00 |
|
Folkert de Vries
|
96d8954df7
|
Merge pull request #3176 from rtfeldman/pending-lambda-sets
Specialized lambda sets
|
2022-06-08 15:56:28 +02:00 |
|
Brian Carroll
|
c00b43c36b
|
wasm: Move some of the DCE code from CodeSection to WasmModule
|
2022-06-07 23:52:33 +01:00 |
|
Ayaz Hafiz
|
1b9b712fe8
|
Turn on ability test that depends on unspecialized lambda sets
|
2022-06-07 11:51:21 -04:00 |
|
Richard Feldman
|
ab99a583a8
|
Rename some functions to make it clearer they're unchecked
|
2022-06-06 20:23:17 -04:00 |
|
Brian Carroll
|
eaae7f1004
|
wasm: Deal with hosts where Roc main is called from JS (also test_gen & REPL!)
|
2022-06-06 11:37:44 +01:00 |
|
Brian Carroll
|
376cbbc4b2
|
wasm: Make NameSection easier to manipulate
|
2022-06-06 10:54:56 +01:00 |
|
Brian Carroll
|
d42cbd052f
|
wasm: print out the host path in tests
|
2022-06-04 20:26:12 +02:00 |
|
Brian Carroll
|
0900481ec8
|
wasm: try to link Roc main to the test platform
|
2022-06-04 20:24:08 +02:00 |
|
Brian Carroll
|
f063064e01
|
wasm: make sure the host's extern globals are exposed to JS
|
2022-06-03 09:51:33 +02:00 |
|
Brian Carroll
|
f493fcb1e4
|
wasm: parse the remainder of the 'linking' section
|
2022-06-03 09:51:33 +02:00 |
|
Brian Carroll
|
dad1d14ef8
|
wasm: make host file relocatable
|
2022-06-03 09:51:32 +02:00 |
|
Ayaz Hafiz
|
2e70c9aba4
|
Getting closer. Checking in for a break.
|
2022-06-01 13:18:53 -05:00 |
|
Ayaz Hafiz
|
790eb8e20c
|
Lambda sets don't need extension vars
|
2022-06-01 13:18:03 -05:00 |
|
Folkert
|
e949f4d552
|
clippy
|
2022-05-27 00:07:35 +02:00 |
|
Folkert
|
39947ced67
|
remove expect test, it does nothing any more
|
2022-05-26 20:05:31 +02:00 |
|
Richard Feldman
|
1ef5d785c0
|
Remove no-longer-necessary ReferenceCount uses in wasm
|
2022-05-26 11:18:06 -04:00 |
|
Brian Carroll
|
731a227c61
|
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-parser-trait
|
2022-05-25 21:15:08 +01:00 |
|
Richard Feldman
|
4eec34becf
|
Update to use new square brace formatting
|
2022-05-22 23:15:54 -04:00 |
|
Brian Carroll
|
873d9d4e06
|
wasm: create separate steps for parsing the host and compiling the app
|
2022-05-22 20:49:16 +01:00 |
|
Brian Carroll
|
84a3ac2ef6
|
Replace byte slices with str
|
2022-05-22 19:37:06 +01:00 |
|
Brian Carroll
|
8114ec60c1
|
Start using Result to handle Wasm module parse failures
|
2022-05-22 09:36:33 +01:00 |
|
Brian Carroll
|
1e68ca88d0
|
fix warning on wasm tests in gen_abilities
|
2022-05-21 10:34:52 +01:00 |
|
Richard Feldman
|
9c72e5e8ed
|
Remove unnecessary -> () function return types
|
2022-05-18 08:29:40 -04:00 |
|
Ayaz
|
222967d749
|
Merge pull request #3081 from rtfeldman/issue-2845-dec-literal
Issue 2845 dec literal
|
2022-05-16 20:01:59 -04:00 |
|
Anton-4
|
0f59f3097a
|
cargo fix --edition
|
2022-05-16 17:04:17 +02:00 |
|
Ayaz
|
33226340bc
|
Merge pull request #3067 from rtfeldman/faster-gen-tests
use single-threaded mode for gen tests
|
2022-05-15 09:00:22 -04:00 |
|
Brian Carroll
|
aaea254e8f
|
Pass precompiled host bytes to gen_wasm in CLI
|
2022-05-15 11:11:08 +01:00 |
|
Drake
|
43674efb32
|
fix: pass along parsed number string
|
2022-05-14 15:44:16 -06:00 |
|
Folkert
|
0cc6b63feb
|
use single-threaded mode for gen tests
|
2022-05-14 23:26:16 +02:00 |
|
Richard Feldman
|
f386edc54a
|
don't say pi = 1.23
|
2022-05-10 15:25:46 -04:00 |
|
Richard Feldman
|
fd40fed937
|
Fix a bunch of errors from clippy --tests
|
2022-05-10 15:21:48 -04:00 |
|
Richard Feldman
|
a7ed288b56
|
Add some safety comments for clippy
|
2022-05-10 15:21:47 -04:00 |
|