Commit graph

2036 commits

Author SHA1 Message Date
Ayaz Hafiz
0de32ac5a9
Warn on definitions that introduce no new variables 2022-07-24 16:11:04 -04:00
Ayaz Hafiz
beccc92c87
Support underscores in assignment patterns 2022-07-24 16:11:03 -04:00
Ayaz Hafiz
569e90d682
Fix test change due to underscore parsing in patterns 2022-07-24 16:10:36 -04:00
Ayaz Hafiz
639fcb076b
Add test for using only underscore as identifier name 2022-07-24 16:10:35 -04:00
Ayaz Hafiz
fbd70c4031
Parse assignment patterns with underscores 2022-07-24 16:10:01 -04:00
Ayaz Hafiz
79dcec705d
Disable wasm test for now 2022-07-24 16:07:26 -04:00
Brendan Hansknecht
3e82d30e89
Merge pull request #3619 from rtfeldman/gen-dev/array
Gen dev/array
2022-07-24 18:21:20 +00:00
Richard Feldman
4abad75d67
Revert "Don't use deprecated Arg::value_of_t"
This reverts commit 20275f480b.
2022-07-24 13:58:08 -04:00
Richard Feldman
e2de5519a7
Remove unnecessary clone - thanks, Clippy! 2022-07-24 12:01:38 -04:00
Richard Feldman
ad563f0600
Drop unused ctor dependency 2022-07-24 12:00:43 -04:00
Richard Feldman
ed69a73786
Update glue tests 2022-07-24 11:57:01 -04:00
Richard Feldman
cc790a2773
fixup! Rename bindgen_rs to rust_glue 2022-07-24 11:54:40 -04:00
Folkert
916ab396c0
don't read uninitialized memory 2022-07-24 17:53:59 +02:00
Richard Feldman
fcd9819118
Print formatted reports for roc glue errors 2022-07-24 11:23:23 -04:00
Richard Feldman
946b44cfd0
Fix some type mismatches 2022-07-24 11:22:58 -04:00
Folkert
9cb611e540
clippy 2022-07-24 16:49:42 +02:00
Richard Feldman
3765cbbc8f
Drop obsolete templates and main.rs 2022-07-24 10:46:27 -04:00
Richard Feldman
fc7351508e
Rename bindgen_rs to rust_glue 2022-07-24 10:41:52 -04:00
Richard Feldman
4bc961a453
Have the roc CLI use the new glue 2022-07-24 10:41:05 -04:00
Folkert
7953da1c71
clippy 2022-07-24 16:33:57 +02:00
Folkert
11c0ca2f1b
wasm test wrapper: don't return dangling pointers 2022-07-24 16:28:41 +02:00
Richard Feldman
7258446283
Make roc_glue a library, not a separate CLI 2022-07-24 10:25:27 -04:00
Richard Feldman
98c6ab0e97
Rename crates/bindgen to crates/glue 2022-07-24 10:25:24 -04:00
Richard Feldman
20275f480b
Don't use deprecated Arg::value_of_t 2022-07-24 10:04:49 -04:00
Richard Feldman
e707084541
Add roc glue subcommand 2022-07-24 10:04:28 -04:00
Folkert
d87c079620
change how tags are created
wasm in optimize mode just removed the whole tag creation
2022-07-24 15:50:54 +02:00
Folkert
425004dd28
remove duplicate test 2022-07-24 15:49:21 +02:00
Richard Feldman
c5f04aaf73
s/root module/main module/g 2022-07-24 09:39:10 -04:00
Folkert
6e12ac191d
check i128 alignment for wasm too 2022-07-24 14:11:52 +02:00
Folkert
2181d4c498
cleanup 2022-07-24 14:11:37 +02:00
Folkert
91a11a70af
fix str_walk_utf8_with_index 2022-07-24 14:04:41 +02:00
Folkert
8d4a770373
return list instead of nat 2022-07-24 13:48:06 +02:00
Folkert
4b5432328b
update tag tests 2022-07-24 13:42:06 +02:00
Folkert
60b7f2cf94
additional 32-bit string layout tests 2022-07-24 13:38:11 +02:00
Folkert
05a7d76a5e
update StrGetUnsafe 2022-07-24 13:34:14 +02:00
Folkert
100e439852
fix bug with ALIGN_OF_WASM on tuples (it used the size) 2022-07-24 13:33:35 +02:00
Folkert
f7d1ba6952
fix list sorting 2022-07-24 13:24:28 +02:00
Folkert
c274ada741
more cleanup 2022-07-24 13:21:00 +02:00
Folkert
9f37e73ae5
cleanup 2022-07-24 13:18:53 +02:00
Folkert
c81e0281be
most list functions, except sorting 2022-07-24 13:15:35 +02:00
Folkert
6b1ff710ad
rename 2022-07-24 13:07:56 +02:00
Folkert
99a83af3bc
rename 2022-07-24 13:07:42 +02:00
Folkert
0ab1a735ec
cleanup 2022-07-24 13:07:16 +02:00
Folkert
61b4ab72df
final str functions (except those that need list) 2022-07-24 13:06:06 +02:00
Folkert
a49b1ed32d
str_to_num 2022-07-24 13:02:08 +02:00
Folkert
883a264440
update most string functions 2022-07-24 13:00:20 +02:00
Folkert
83a878b2f9
rename 2022-07-24 12:54:55 +02:00
Folkert
2a91c39ac6
rename 2022-07-24 12:54:31 +02:00
Folkert
df865222bf
Nat overflow is different between targets 2022-07-24 12:53:03 +02:00
Folkert
775517a8cf
NumToStr 2022-07-24 12:42:13 +02:00