Commit graph

3829 commits

Author SHA1 Message Date
Richard Feldman
791025d3ed
Merge pull request #4579 from roc-lang/underivable-rigid-better-error
Suggest binding type variables to an ability when they're unsatisfied
2022-11-25 19:46:11 -05:00
Brian Carroll
578b74ee77
wasm_interp: test for br_if 2022-11-26 00:43:49 +00:00
Brian Carroll
5035ad0a2b
wasm_interp: test br 2022-11-26 00:39:46 +00:00
Brian Carroll
d9fe907684
wasm_module: create const ValueType::VOID to use as block type 2022-11-26 00:38:41 +00:00
Ayaz Hafiz
8bb015bb0f
End the string 2022-11-25 16:43:09 -06:00
Ayaz
8c0ff4c839
Merge pull request #4558 from roc-lang/specialization-sets-for-impl-opaques
Support custom abilities for opaques with immaterial lambda sets
2022-11-25 16:42:32 -06:00
Ayaz
15e372373a
Merge branch 'main' into underivable-rigid-better-error
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-11-25 16:33:57 -06:00
Richard Feldman
58fad36f9d
Merge pull request #4460 from roc-lang/crash
Crash
2022-11-25 17:18:21 -05:00
Richard Feldman
4cf71020cf
Merge pull request #4604 from roc-lang/linker-print-path-on-error
print the path that the linker writes on error
2022-11-25 17:16:54 -05:00
Richard Feldman
e0030bac6c
Try to fix wasm URL-based downloads again 2022-11-25 16:54:10 -05:00
Richard Feldman
2eb9531817
Fix regression on printing "Rebuilding platform…" 2022-11-25 16:41:54 -05:00
Brian Carroll
b69be0e12d
wasm_interp: implement br_if and br_table 2022-11-25 21:41:35 +00:00
Richard Feldman
695bb7e353
Merge pull request #4603 from roc-lang/dbg-fixes
Dbg fixes
2022-11-25 15:10:22 -05:00
Brian Carroll
808dd85946
Merge pull request #4602 from roc-lang/wasm_interp_memory
Wasm interp memory
2022-11-25 20:04:04 +00:00
Brian Carroll
b96f1ffc33
wasm_interp: implement block and br 2022-11-25 19:42:10 +00:00
Brian Carroll
a593d19b2d
wasm_interp: use copy_from_slice instead of write_all 2022-11-25 19:41:19 +00:00
Folkert
f2ad4848db
print the path that the linker writes on error 2022-11-25 19:57:39 +01:00
Richard Feldman
84b8c69799
Merge pull request #4520 from roc-lang/str-docs
Str docs improvements
2022-11-25 13:06:11 -05:00
Folkert
bc3414e913
spelling 2022-11-25 18:30:04 +01:00
Brian Carroll
54305dd182
Merge branch 'main' of github.com:roc-lang/roc into wasm_interp_memory 2022-11-25 17:10:45 +00:00
Brian Carroll
5f5a535aaf
clippy 2022-11-25 16:56:25 +00:00
Folkert
165db8c885
make line and column numbers the same as editor (i.e. 1-based) 2022-11-25 17:55:27 +01:00
Folkert
07b7a93b9f
fix not being able to dbg variable 2022-11-25 17:55:01 +01:00
Brian Carroll
2bd67a3292
wasm_interp: tests for memory allocation instructions 2022-11-25 16:51:36 +00:00
Brian Carroll
06f3726e35
wasm_interp: tests for store instructions 2022-11-25 16:29:37 +00:00
Brian Carroll
65fc079393
clippy 2022-11-25 15:46:02 +00:00
Brian Carroll
e8f78a9618
wasm_interp: disable some debug code 2022-11-25 15:44:00 +00:00
Brian Carroll
e08b09538e
wasm_interp: implement memory size instructions 2022-11-25 15:41:11 +00:00
Brian Carroll
598e62275d
wasm_interp: implement store instructions 2022-11-25 15:41:11 +00:00
Brian Carroll
d9a8c6f64c
wasm_interp: Fix parse error hex formatting 2022-11-25 14:51:40 +00:00
Brian Carroll
73ede61cb1
wasm_interp: tests for load instructions 2022-11-25 14:50:55 +00:00
Brian Carroll
74e1bc412f
Merge pull request #4593 from roc-lang/wasm_interp_cli
Wasm interp CLI
2022-11-25 13:01:09 +00:00
Brian Carroll
c6bf34dd78
wasm_interp: Imeplement load instructions 2022-11-25 10:13:13 +00:00
Brian Carroll
85d5f3d109
wasm_interp: add a --hex CLI flag 2022-11-25 10:12:39 +00:00
Richard Feldman
39792bf144
Drop extraneous cwd.join
This actually caused a bug! To reproduce:

cargo run -- build --prebuilt-platform=false examples/cli/file.roc
2022-11-25 04:47:36 -05:00
Brian Carroll
96bff3e304
wasm_module: Create DataSection::load_into 2022-11-25 09:19:35 +00:00
Richard Feldman
a63f1378ef
Merge remote-tracking branch 'origin/main' into str-docs 2022-11-25 04:12:42 -05:00
Richard Feldman
bef59299a2
Merge remote-tracking branch 'origin/main' into https-packages 2022-11-25 04:07:37 -05:00
Richard Feldman
59e13d5bec
Don't try to import reqwest::blocking on wasm 2022-11-25 03:32:15 -05:00
Richard Feldman
6b805b721b
Merge pull request #4596 from roc-lang/dbg-color
Print `dbg` output in blue
2022-11-25 03:23:15 -05:00
Richard Feldman
f52ad5cbba
Merge pull request #4591 from roc-lang/tuple-accessor
Tuple accessors after tuples/records
2022-11-24 22:34:27 -05:00
Richard Feldman
5d4fa4eff1
clippy 2022-11-24 21:34:02 -05:00
Richard Feldman
08764787f5
Merge remote-tracking branch 'origin/main' into https-packages 2022-11-24 21:14:43 -05:00
Richard Feldman
253f903ae6
Drop openssl dependency 2022-11-24 21:14:26 -05:00
Richard Feldman
54da1b1e3b
Print a newline at the end of dbg output 2022-11-24 20:39:04 -05:00
Richard Feldman
c63baa2ede
Print dbg output in blue in terminal 2022-11-24 20:38:52 -05:00
Brian Carroll
a0fe01dd5f
wasm_interp: Use an Option instead of separate bool and String 2022-11-25 01:28:31 +00:00
Brian Carroll
77ebaba4ff
wasm_interp: include immediates in --debug output 2022-11-25 01:13:32 +00:00
Richard Feldman
40bf022e02
Merge pull request #4586 from roc-lang/wasm-debug-tips
gen_wasm: Add debugging tips to readme
2022-11-24 19:41:31 -05:00
Brian Carroll
dd93e2e46f
wasm_interp: Print out return value(s), if any 2022-11-25 00:14:44 +00:00