Commit graph

4827 commits

Author SHA1 Message Date
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
Folkert
1c310cdda6
NumToIntChecked 2022-07-24 12:39:24 +02:00
Folkert
92306280d2
NumToIntChecked 2022-07-24 12:38:38 +02:00
Folkert
048410ca09
NumBytesTo 2022-07-24 12:35:43 +02:00
Folkert
dd35b44877
add new 32/64-bit bitcode fn callers 2022-07-24 12:32:12 +02:00
Folkert
f31bffab30
wasm tests have a platform; don't generate roc_panic and friends for it 2022-07-24 12:22:39 +02:00
Folkert
69fb5e2cef
disable test for wasm that uses pointers 2022-07-24 12:20:29 +02:00
Folkert
29ad54e5d1
rename wasm llvm test wrapper (now it's the same as dev) 2022-07-24 12:20:17 +02:00
Folkert
bece4342ec
improvements to llvm+wasm test running
- run only the wasm tests
- nicer linker error reporting
2022-07-24 12:17:10 +02:00
Folkert
f5c23a219a
remove assert_non_opt_evals_to 2022-07-24 12:12:28 +02:00