Commit graph

18638 commits

Author SHA1 Message Date
Richard Feldman
595b7c9884
Fix tests 2022-08-08 17:30:54 -04:00
Brian Carroll
91489ce6bd
cli: create an option for wasm dev backend stack size 2022-08-08 22:28:58 +01:00
Richard Feldman
d965a43fe9
Split back out NullableUnwrapped 2022-08-08 17:27:29 -04:00
Brian Carroll
dd040d5f73
wasm: add stack_bytes field to Env 2022-08-08 21:41:25 +01:00
Folkert de Vries
9e88387ecd
Merge pull request #3721 from rtfeldman/rbt-fix
Replace glue usages of ManuallyDrop::take with ::into_inner
2022-08-08 21:28:11 +02:00
Folkert de Vries
168d5bce31
Merge pull request #3719 from rtfeldman/wasm-fix-gen-primitives
test_gen: fix Rust types where expected value is a function
2022-08-08 21:27:02 +02:00
Richard Feldman
1a10174abb
Combine all single-tag unions into RocTagUnion::SingleTag 2022-08-08 14:42:52 -04:00
Richard Feldman
4ac79772df
Revise glue for single-tag recursive unions 2022-08-08 14:42:52 -04:00
Richard Feldman
22b219c3c9
Glue body for recursive single-tag unions 2022-08-08 14:42:52 -04:00
Richard Feldman
6e7f0210da
Combine recursive and nonrecursive single-tag glue 2022-08-08 14:42:52 -04:00
Richard Feldman
4e73899356
Rename NonNullableUnwrapped to RecursiveSingleTag 2022-08-08 14:42:52 -04:00
Richard Feldman
23b8ff896a
Give non-recursive single tag unions a payload 2022-08-08 14:42:52 -04:00
Richard Feldman
3adae16cff
Add test fixtures for nonnullable-unwrapped 2022-08-08 14:42:51 -04:00
Richard Feldman
1ad59c6c45
Replace usages of ManuallyDrop::take with ::into_inner 2022-08-08 12:10:20 -04:00
Brian Carroll
11929a7b6d
wasm: set memory layout after code gen, when we know the amount of const data 2022-08-07 21:34:49 +01:00
Brian Carroll
e8003137d6
test_gen: fix Rust types where expected value is a function 2022-08-07 20:26:23 +01:00
Richard Feldman
0ca0da85cf
Merge pull request #3694 from rtfeldman/roc-std-platform
further windows linking fixes
2022-08-07 14:42:52 -04:00
Christoph Rüßler
003408e3ef
Merge remote-tracking branch 'origin/trunk' into complete-num-add 2022-08-07 19:52:06 +02:00
Christoph Rüßler
6d66b0deb6
Add support for i16/u16 to NumAdd 2022-08-07 19:41:35 +02:00
Folkert de Vries
c9bd2ec384
Merge pull request #3717 from rtfeldman/glue-tag-unions
Glue nullable-wrapped tag unions
2022-08-07 14:50:59 +02:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Folkert
ca5610c748
clippy 2022-08-07 13:20:28 +02:00
Folkert de Vries
f750782965
Merge pull request #3707 from rtfeldman/glue-single-tag-union
Special-case glue for single tag unions
2022-08-07 13:17:14 +02:00
Folkert de Vries
c7f9a39625
Merge pull request #3702 from rtfeldman/test-str-builtins
`roc test` on `Str` builtins
2022-08-07 13:14:17 +02:00
Folkert de Vries
19131a9588
Merge pull request #3698 from rtfeldman/fix-roc-std-build
Fix macOS tests on the `fix-roc-std-build` branch
2022-08-07 13:13:23 +02:00
Richard Feldman
7f758ab9b6
Fix nullable-wrapped tests 2022-08-07 00:42:52 -04:00
Richard Feldman
7a5db3d457
Revert "Add an index to write_impl_tags"
This reverts commit 31f1aef8e0.
2022-08-07 00:42:52 -04:00
Richard Feldman
7726c1745b
Modify test fixture for nullable-wrapped 2022-08-07 00:42:46 -04:00
Richard Feldman
090ed922e3
Merge pull request #3714 from rtfeldman/expect-recursive-unions
expect recursive unions
2022-08-07 00:36:10 -04:00
Richard Feldman
3840aaeeea
Merge pull request #3715 from rtfeldman/remove-sendmap
remove some sendmap usage
2022-08-07 00:35:36 -04:00
Richard Feldman
484cc582fc
Add some comments 2022-08-07 00:32:52 -04:00
Richard Feldman
f644c8ac50
Special-case nullable-unwrapped's null tag 2022-08-06 23:35:29 -04:00
Richard Feldman
31f1aef8e0
Add an index to write_impl_tags 2022-08-06 23:27:38 -04:00
Richard Feldman
dba935b8b7
Reuse add_tag_union for nullable_wrapped 2022-08-06 23:24:23 -04:00
Richard Feldman
4f55105a35
Generate glue for nullable unwrapped 2022-08-06 23:11:17 -04:00
Richard Feldman
621d1afd5d
Add test fixture for nullable-wrapped 2022-08-06 23:11:13 -04:00
Folkert
98708d689e
ownership 2022-08-07 00:12:39 +02:00
Oskar Hahn
0faf7b4854
Fix Tutorial
The packages defintion needs a file and not a directory.

See also #3249
2022-08-06 23:25:46 +02:00
Folkert
9d057a1227
clippy 2022-08-06 23:01:54 +02:00
Folkert
45c15bf1f1
expect tests need to run with test execution mode 2022-08-06 23:00:58 +02:00
Folkert
68888c79ae
skip expect codegen when not running tests 2022-08-06 22:03:56 +02:00
Richard Feldman
2d3f10fd35
Fix Earthfile command for testing Str builtins 2022-08-06 21:45:21 +02:00
Richard Feldman
12e377744d
Run roc test on Str builtins 2022-08-06 21:45:21 +02:00
Richard Feldman
807f73fecf
Add some expects to Str 2022-08-06 21:45:21 +02:00
Folkert
9574bd9928
move implementation of platform functions to use site... 2022-08-06 21:32:18 +02:00
Folkert
79d0dbf4a1
clippy 2022-08-06 20:12:10 +02:00
Folkert
6bf3e80f51
remove some sendmap usage 2022-08-06 20:00:39 +02:00
Folkert
6394a4e337
update no_std config 2022-08-06 19:05:29 +02:00
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +02:00
Folkert de Vries
d415c72fdc
Merge pull request #3713 from rtfeldman/wasm-code-gen-fixes-i3448
Wasm code gen fixes
2022-08-06 18:46:26 +02:00